Commit Graph

108833 Commits

Author SHA1 Message Date
martin 93f473507c Replace some int's with size_t. Use %ld and cast to long when printing
size_t's.
2003-02-19 16:53:26 +00:00
martin cfa07275ad Follow changes in rev. 1.79 of sys/kern/exec_conf.c
(if emulation uses elf32_copyargs(), it shouldn't use it's own idea
of how many AUX arguments are actually passed)
2003-02-19 15:43:56 +00:00
hannken 8f45c81f55 Add PQUIRK_NO_FLEX_PAGE for Fujitsu MO MCJ3230AP.
This drive returns bogus geometry (0 heads, 0 sectors).
2003-02-19 14:33:15 +00:00
he 3d65d2c867 The ports which use grep in their miniroot need to have a special
rule to get at the source (and object) directory after the recent
grep move.
2003-02-19 14:21:06 +00:00
jdolecek 5c10202b37 do previous differently - pass ap->a_id down to smbfs_smb_lock()
and smbfs_smb_lockandx() as caddr_t, and mask it to 16bit value
in smbfs_smb_lockandx()
okayed by Martin
2003-02-19 13:51:24 +00:00
yamt 5f444770aa add debug code to lfs_free. 2003-02-19 12:58:53 +00:00
simonb 81dc935e33 Show the last "track" as the start of the lead-out area instead of a
bogus track number.  Remove a magic number and (slightly) simplify the
TOC entry display function a little.
2003-02-19 12:55:58 +00:00
yamt 65fda8e404 workaround for "another flush is..." infinity loop in writerd.
if we're writerd, sleep in lfs_flush until another writer goes away
instead of busy loop in writed.
2003-02-19 12:49:10 +00:00
martin 681bcd85a7 SMB lock ids apparently are 16bit items. And the code uses id 1 always.
No need to cast it back and forth to a caddr_t and u_int32_t - which does
not work well on 64bit archs.
2003-02-19 12:44:47 +00:00
yamt d9a4f81d1c wire the pages instead of just dequeue'ing them.
advised by Chuck Silvers.
2003-02-19 12:22:51 +00:00
yamt 18e00c1196 init b_interlock. 2003-02-19 12:18:59 +00:00
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