Commit Graph

108784 Commits

Author SHA1 Message Date
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
jdolecek e0ef9a798d add 'noatime' to list of supported mount options
fixes PR bin/20411 by KOIE Hidetaka
2003-02-18 13:16:48 +00:00
jdolecek 309faeafd5 smbfs_smb_create(): use SMB_COM_CREATE_NEW rather than SMB_COM_CREATE; the
latter truncates the file if it exists, which we don't want to do
change the code a bit to be easier to read
2003-02-18 12:52:34 +00:00
jdolecek 68756e42ca don't need duplicate nsmb entry in 'Special devices' 2003-02-18 12:29:43 +00:00
jdolecek 3b055749f1 fix nsmb* to use correct assigned major, hook creation of nsmb devices
into 'all' target
2003-02-18 12:28:57 +00:00
jdolecek 51762449f8 add nsmb device-major 2003-02-18 12:26:50 +00:00
jdolecek 17de86b837 need to include netsmb/files.netsmb 2003-02-18 12:20:19 +00:00
jdolecek 6b01f028b8 move netsmb-specific entries to netsmb/files.netsmb
g/c options SMB and opt_smb.h
rename the pseudo device to nsmb, and use needs-flag instead needs-count,
 adjust nsmbattach() appropriately
replace SMB_CHECKMINOR() with explicit code in smb_dev.c, to improve readability
2003-02-18 12:18:28 +00:00
jdolecek 7fa45bf7b7 disable debug printf mistakely enabled in previous commit 2003-02-18 11:21:01 +00:00
jdolecek 0550f349b8 couple cosmetic changes:
* g/c superfluous printfs
* use vcp on one more place
* don't need to check result of allocation with M_WAITOK
* just exlicitly return (0) on the success path, rather than return (error)
2003-02-18 10:27:17 +00:00
jdolecek 399550a191 do age attrcache on NetBSD - use mono_time.tv_sec instead of FreeBSD time_second
don't need to erase *vpp on top smbfs_nget()
s/bzero/memset/ for struct smbnode allocation
2003-02-18 10:24:58 +00:00
jdolecek c77076376f smb_rq_bend(): s/htoles/htole16/
smb_rq_reply(): don't bother saving error from md_get_* call when it's ignored
2003-02-18 10:20:50 +00:00
jdolecek fde501ab94 use explicit width macros from <sys/endian.h>, do not define&use
letohs/letohl/letohq and such
2003-02-18 10:18:52 +00:00
jdolecek fce485df80 constify smb_emptypass (it doesn't have any effect, cost for form) 2003-02-18 10:16:49 +00:00
lukem 31e59fe101 - add [-m machine] support, from David Laight dsl@
- parenthesise some messages
- add some bugs and todo items
2003-02-18 10:12:52 +00:00
jdolecek 12ce0f9377 replace some magic error number with descriptive defines; meaning of the numbers
found in Samba/Linux smbfs
2003-02-18 10:09:28 +00:00
jdolecek 488fc89a73 use Xo/Xc to work-around our current tmac macro limitation of nine
arguments
2003-02-18 09:55:09 +00:00
jdolecek 0f48fcb071 g/c code not used by NetBSD
constify mopts[]
2003-02-18 09:53:55 +00:00
jdolecek 74563995a5 make compile on NetBSD - <sys/endian.h> instead of <sys/mchain.h>, use
explicit width macros, disable some not-yet supported functionality
(conversion map upload, smb_dumptree())
2003-02-18 09:52:03 +00:00
jdolecek 648f05609d no need for iconv.h include here
no \n on end of warn() format
include <sys/param.h> for some contants
iconv_loaded--, not iconv_loaded++ when the dlopen() fails
2003-02-18 09:47:48 +00:00
jdolecek add8c3ba9a constify some structs 2003-02-18 09:45:58 +00:00
uwe 483b412ce5 Always include bsd.subdir.mk, move it out of .if defined(ARCHSUBDIR).
Let the build proceed for arches that don't support libpthread yet.
2003-02-18 09:35:31 +00:00
dsl b80a5f24c5 KNF kern_prot.c 2003-02-18 08:37:41 +00:00
shin ea688f03fb s/netbsd.aout/netbsd/ 2003-02-18 08:18:31 +00:00
shin f37f0fc990 remove workaround for toolchain bug (already fixed). 2003-02-18 08:13:13 +00:00
shin 1bcf450633 toolchain problem (toolchain/16529) was fixed. build miniroot for pmax. 2003-02-18 08:11:21 +00:00
grant 60a45bbcd7 add missing networking options, commented.
ok'd by ross.
2003-02-18 05:50:51 +00:00
perry 399b25deea Clarify a bit, fix up the examples somewhat, etc. 2003-02-18 02:17:38 +00:00
perseant e61877243d Make it compile again, grr.... 2003-02-18 02:00:08 +00:00
grant 72f6291506 add Intel PRO/100M.
from Quentin Garnier in PR kern/20400.
2003-02-18 00:11:53 +00:00
grant 1f01efa58c regen 2003-02-18 00:10:31 +00:00
grant ce4e49f957 add Intel PRO/100M. 2003-02-18 00:09:43 +00:00
perseant b397c875ae Add code to UBCify LFS. This is still behind "#ifdef LFS_UBC" for now
(there are still some details to work out) but expect that to go
away soon.  To support these basic changes (creation of lfs_putpages,
lfs_gop_write, mods to lfs_balloc) several other changes were made, to
wit:

* Create a writer daemon kernel thread whose purpose is to handle page
  writes for the pagedaemon, but which also takes over some of the
  functions of lfs_check().  This thread is started the first time an
  LFS is mounted.

* Add a "flags" parameter to GOP_SIZE.  Current values are
  GOP_SIZE_READ, meaning that the call should return the size of the
  in-core version of the file, and GOP_SIZE_WRITE, meaning that it
  should return the on-disk size.  One of GOP_SIZE_READ or
  GOP_SIZE_WRITE must be specified.

* Instead of using malloc(...M_WAITOK) for everything, reserve enough
  resources to get by and use malloc(...M_NOWAIT), using the reserves if
  necessary.  Use the pool subsystem for structures small enough that
  this is feasible.  This also obsoletes LFS_THROTTLE.

And a few that are not strictly necessary:

* Moves the LFS inode extensions off onto a separately allocated
  structure; getting closer to LFS as an LKM.  "Welcome to 1.6O."

* Unified GOP_ALLOC between FFS and LFS.

* Update LFS copyright headers to correct values.

* Actually cast to unsigned in lfs_shellsort, like the comment says.

* Keep track of which segments were empty before the previous
  checkpoint; any segments that pass two checkpoints both dirty and
  empty can be summarily cleaned.  Do this.  Right now lfs_segclean
  still works, but this should be turned into an effectless
  compatibility syscall.
2003-02-17 23:48:08 +00:00
nathanw 0cfe2d1c69 Test p->p_sa instead of p->p_flag & P_SA, as the latter may have been
cleared by sigexit().
2003-02-17 23:45:47 +00:00
nathanw 1e8f36c002 Clear L_SA from all LWPs in sigexit() to prevent any upcalls or
sa_switch() invocations while exiting. Test P_SA instead of L_SA, out
of paranoia. Avoids a possible remrunqueue panic reported by Havard
Eidnes.

Release the kernel lock before calling the userret function to exit in
sigexit(). Problem noted by Paul Kranenburg.
2003-02-17 23:45:00 +00:00
nathanw a87506d477 Note yet another SMP danger spot. 2003-02-17 23:32:33 +00:00
david 9a38c06746 sync with GENERIC
add: options SYSTRACE
2003-02-17 22:44:37 +00:00
christos e2b7a1ed43 Add a ttyprintf_nolock() to be called when we are printing the ttyinfo
stuff, since we already have the lock.
Adjust tputchar so that it does not lock, when NOLOCK is passed in flags.
2003-02-17 22:23:14 +00:00
christos e5323a474c - remove __STDC__ crap. It did not work anyway with pre-ansi compilers, since
va_start() takes one arg, and va_alist must be the only argument of a
  varyadic in the K&R world.
- pass flags to tputchar.
2003-02-17 22:21:52 +00:00