Commit Graph

109022 Commits

Author SHA1 Message Date
yamt 2be86f2ff8 acquire v_interlock before calling VOP_PUTPAGES. 2003-02-19 12:02:38 +00:00
martin 6b7ecffb54 Change a few int -> size_t to make it compile on archs where they are not
the same.
2003-02-19 12:01:37 +00:00
yamt 0ad89cf93e init b_interlock. 2003-02-19 12:01:17 +00:00
scw beccdcb402 Make this at least compile on BE platforms.
XXX: Needs testing by someone with a suitable SMB server.
2003-02-19 11:58:58 +00:00
yamt 148af81ca0 initialize a simple_lock in softc. 2003-02-19 11:32:13 +00:00
jdolecek 25d6f89a59 update emul alarm syscalls to recent timer changes
problem encountered by Luke Mewburn for linux emul, problem spot
found by Enami Tsugutomo
2003-02-19 11:23:53 +00:00
drochner f7320016a9 add copyright notice 2003-02-19 10:48:00 +00:00
jdolecek 853290d652 remove local idea of ELF_AUX_ARGSIZ - since this emul uses elf32_copyargs(),
it shouldn't override the size
2003-02-19 09:45:48 +00:00
jdolecek 382f8f9883 if emulation uses elf32_copyargs(), it shouldn't use it's own idea
of how many AUX arguments are actually passed

this fixes PR kern/20423 by Shingo WATANABE
2003-02-19 09:44:42 +00:00
dsl c17244d768 Create session before setting logname - we don't want to change the
parents logname (or any other children pre-empted in that window).
2003-02-19 09:21:15 +00:00
jdolecek 1cacc8d1a4 always include support for password encryption
const-poison smb_crypt.c some
2003-02-19 08:33:08 +00:00
jdolecek 09caa6e970 no opt_smb.h 2003-02-19 08:13:46 +00:00
elric bbf4f2d867 Sync this file up with its counterpart in libc,
src/lib/libc/gen/getgrent.c
Patch and PR provided by: FUKAUMI Naoki

Addresses PR lib/20365
2003-02-19 08:04:29 +00:00
simonb b7f4f30f48 Revert previous (in line with <i386/mtrr.h> reversion). 2003-02-19 05:38:58 +00:00
gson d3fce65758 Reserve the I/O ports used by the CRT controller to keep them from
being allocated for other purposes such as PCMCIA I/O space.  Fixes
port-i386/5177.
2003-02-19 04:07:56 +00:00
mrg 6f05c73b55 fix a couple of sparc sysinst bugs:
- md_set_no_x() was turning off the "misc" and "text" sets and
	not turning off the "xcomp" and "xmisc" sets.

	- now that a kernel is installed as "/netbsd" by default, do not
	try to symlink (!) from /netbsd-GENERIC (which does not exist)
	to /netbsd.

also:
	- instead of printing the 3 kernel sets all as "Kernel       : ",
	now use "Kernel       : ", "Kernel(SCSI3): " and "Kernel(SUN4U): "

	- add a note to md.c and the menus.md.* files to keep these lists
	in sync (so that the first problem above does not occur again.)

missing:
	- a way to force that one and only one of the 3 kernel sets are
	selected.  at least the default install works now.
2003-02-19 02:09:46 +00:00
augustss fe29dd94be Bail out early in isoc_done if the ii is not on the interrupt list. 2003-02-19 01:35:04 +00:00
fvdl feaeb437d4 Make COMPAT_NETBSD32 compile and work again (though not with SAs). 2003-02-19 00:37:33 +00:00
bjh21 97bd403086 Add a copyright notice for me, too. 2003-02-19 00:36:24 +00:00
fvdl 807c14b1f2 Undo constification of mtrr_funcs. I'll deal with it later. 2003-02-19 00:18:34 +00:00
fvdl f2ef2f16fa Revert previous. This file is also used on x86_64, you see. 2003-02-19 00:15:19 +00:00
lukem bfc98ff079 Display the build.sh command line and the start & end times.
Based on suggestion from Andrew Brown <atatat@netbsd.org>.
2003-02-18 23:59:06 +00:00
pk d286e74769 pgt_page_alloc: use uvm_km_kmemalloc() so we can honor the PR_NOWAIT flag
pmap_kenter_pa4m: lock the pmap we're working on.
2003-02-18 22:05:08 +00:00
jdolecek 6c6a0817ba note SMBFS support 2003-02-18 21:05:47 +00:00
jdolecek 2e574d6a8b add "VT_SMBFS" to vnode_tags[]
constify vnode_tags[] and vnode_types[]
2003-02-18 20:37:38 +00:00
jdolecek 55faf5989f add mount_smbfs(8) 2003-02-18 20:35:28 +00:00
jdolecek 5bfb055309 add TNF copyright and $NetBSD$ RCS Id
add SEE ALSO, HISTORY
adjust BUGS to stress this is experimental and to use send-pr
adjust AUTHORS to include people who did NetBSD port (Matt Debergalis and me)
2003-02-18 20:31:19 +00:00
jdolecek d2309c1fda add file-system SMBFS and pseudo-device nsmb, uncommented, marked as
experimental
2003-02-18 20:13:03 +00:00
jdolecek bb1e147039 add nfs-style n_ctime, n_nctime
#ifdef smbfs_getpages(), smbfs_putpages() - it's not used on NetBSD
2003-02-18 20:09:01 +00:00
jdolecek d3d721833b make smbfs_lookup() look more like nfs_lookup(), particularily account
for different cache_lookup() semantics
fix smbfs_pathcheck() to not assume zero-ended component name
remove the bogus code in smbfs_close(), it's not needed on NetBSD
fix couple other vnop routines to do vput()/vrele()/PNBUF_PUT() as appropriate
KNF
2003-02-18 20:07:50 +00:00
jdolecek e737730e68 g/c VI_(UN)LOCK macros and just use simple_(un)lock(vp->v_interlock)
#if 0 smbfs_hashprint(), and mark it static
do NOT reinit vp->v_lock - getnewvnode() did it for us
smbfs_reclaim(): unconditionaly do LIST_REMOVE(), and de-obfuscate parent
  directory vrele() call
2003-02-18 20:00:35 +00:00
jdolecek e75d9c776e vrele() the reference to root vnode before calling vflush() in smbfs_unmount(),
so that the filesystem wouldn't appear as busy when it's not, and vref()
it back if the vflush() fails

LK_DRAIN sm_hashlock before freeing the smbmount struct

g/c one meaningless check in smbfs_root()
2003-02-18 19:40:36 +00:00
wiz 9ceb9b4b15 Add newline character to logname change warning.
Noted missing by Sean Davis on tech-kern.
2003-02-18 19:26:23 +00:00
perry b88a15cf9c Add some missing voids. 2003-02-18 19:21:33 +00:00
wiz b3e61b0b56 s/intial/initial/, from jmc in .pl in PR 20414. 2003-02-18 18:47:06 +00:00
msaitoh f81acfd9b4 The name of the working directory for each prog is converted by "s/-/_/".
The directory list to be removed (i.e. make clean) has to be set with
the converted name.
2003-02-18 18:12:07 +00:00
drochner 8e2212faf9 note dhcp-3.0.1rc11 2003-02-18 17:24:53 +00:00
drochner b6ae80da0f merge dhcp-3.0.1rc11 2003-02-18 17:08:38 +00:00
tsutsui d9a7d0e611 Also remove (probably) incorrect comment. 2003-02-18 16:42:40 +00:00
drochner 49c6e76122 import of ISC dhcp-3.0.1rc11 2003-02-18 16:37:52 +00:00
tsutsui 4adb30abcd hz -> Hz (from OpenBSD) 2003-02-18 16:37:48 +00:00
tsutsui 636e5d57b4 Remove unusable debug code. 2003-02-18 16:36:58 +00:00
soren 98bd894cee Add command to change partition types directly.
From Alexander Guy via OpenBSD.
2003-02-18 16:20:37 +00:00
soren 985217460a Include pdisk on the ramdisk. It can be very useful during installation. 2003-02-18 15:38:53 +00:00
soren 3291a4522e Make libsa compile again. 2003-02-18 14:58:31 +00:00
dsl 34e0475375 Pivot the disk stats into extra lines if they run out of columns
(approved by christos)
2003-02-18 14:55:05 +00:00
jdolecek f8595b9782 add missing dot in comment 2003-02-18 14:37:08 +00:00
augustss 8b132e9976 Add uax. 2003-02-18 14:20:11 +00:00
jdolecek 8fb0f74264 add Boris Popov acknowledgement - smbfs code 2003-02-18 14:05:56 +00:00
pk 2b390d41d0 Move makememarr() into promlib.c. 2003-02-18 13:36:51 +00:00