Commit Graph

126284 Commits

Author SHA1 Message Date
lukem
32037997ae clean up to operate similar to other scripts in this directory, including:
* separate usage function
* use getopts (replacing '-all' with '-a')
2004-04-20 05:37:15 +00:00
lukem
fd4dd26667 Move ./contrib/sys from src.tgz to syssrc.tgz.
Fixes [misc/25251] from Darren Reed.
2004-04-20 03:40:45 +00:00
matt
6a50a009d1 De-__P the header files (and reorder the includes of some C files). 2004-04-20 02:13:26 +00:00
jschauma
9bb0acaf30 The correct syntax for csh's pushd with a numeric argument is
pushd +n
not
pushd n
2004-04-20 01:43:03 +00:00
itojun
1e803d1e8b missing period at the end of sentence 2004-04-19 18:43:26 +00:00
hannken
3a7080244e Redo dk_start(). If di->di_diskstart() runs synchronous its biodone() will
call dk_start() via dk_iodone() before the buffer gets removed from queue.

Approved by: Roland Dowdeswell <elric@netbsd.org>

Fixes PR #25240
2004-04-19 16:04:07 +00:00
pk
3097bbf440 pmap_extract4m: We can read a spurious invalid pte if the system is in
the middle of the PTE update protocol. So, if at first we get an invalid
PTE, retry with the demap lock held.
2004-04-19 15:20:42 +00:00
pooka
d6085ff385 Remove wchar build kludges for FreeBSD<5 and NetBSD<1.6. The wchar
stuff is properly handled by configure now.
2004-04-19 13:55:53 +00:00
atatat
b91680c172 The API to hostid that libc provides may involve a "long", but the
interface the kernel provides to libc (and the rest of userland) is an
"int".  Therefore, stop pretending that it's a long, since that can
incur bizarre failure modes if the types also don't have the same size
(sparc64, alpha, etc).
2004-04-19 13:16:42 +00:00
wiz
3f9411f688 Spell removable with only two es. Inspired by jmc@openbsd. 2004-04-19 12:44:09 +00:00
wiz
ed06e32b97 Spell removable with only two es, add RCS Id. 2004-04-19 12:43:27 +00:00
pk
2e643fb9ae __cpu_simple_lock() isn't a pure function. 2004-04-19 12:41:53 +00:00
wiz
71cdf6adc0 Fix typo in xref. 2004-04-19 11:27:03 +00:00
pk
a484ad4f3f CMP_PTE_USER_READ4M: drop instruction that's effectively a no-op. 2004-04-19 10:01:41 +00:00
wiz
8bb6260b2b Use Fl instead of Ic; remove duplicate Pp;
filesystem -> file system.
2004-04-19 10:00:16 +00:00
wiz
896cbcd48e Move note about updating cvs/include/config.h
after imports to the correct place.
2004-04-19 09:45:13 +00:00
wiz
1611c30c9e Bump version number after import of cvs-1.11.15.
Addresses PR 25236.
2004-04-19 09:43:04 +00:00
pk
fecb3b619b Drop spurious variable. 2004-04-19 08:50:21 +00:00
kleink
f6f484b31d Un-__P(), ANSIfy, use EXIT_{SUCCESS,FAILURE}, use [gs]etprocname().
From Stefan Krüger in PR bin/24878.
2004-04-19 08:24:56 +00:00
jdolecek
9705c5db44 properly version the msdosfs mount structure after addition
of gmt time offset support (Hi Itojun!); adresses most important
part of PR kern/25226 by Todd Whitesel
2004-04-19 07:53:58 +00:00
matt
a87928f350 ANSI'fy, de-__P(), and constify some read-only data. 2004-04-19 05:16:45 +00:00
christos
ed95f3e980 Charge root for socket buffers without a socket pointer. 2004-04-19 03:44:46 +00:00
dmcmahill
888e67edcc Fix the sysinfo(SI_HW_SERIAL, emulation so that we actually get the
hostid of the machine rather than always getting "0".  Tested with
hostid(1) from solaris-2.8 and with lmhostid (part of FlexLM) for solaris.
Approved by atatat@.
2004-04-19 02:55:40 +00:00
lukem
968e09b852 Document RLIMIT_SBSIZE. 2004-04-19 01:53:21 +00:00
lukem
b05575be23 Document RLIMIT_SBSIZE and associated shell & login.conf changes
made by christos & matt.
share/mk: deprecate AINC in favour of AFLAGS.
Add sysctl(8) "vfs.generic.fstypes".
locate.conf(5) ignorefs improvement.
Fix format of an existing entry.
2004-04-19 01:42:52 +00:00
lukem
778dabc229 Correct the description of sbsize; it is parsed in bytes not kbytes. 2004-04-19 01:36:32 +00:00
lukem
69a2205a22 "ignorefs type" now _appends_ to the existing (default) list. If the default
list isn't wanted, use "ignorefs none" before other "ignorefs ..." entries.
This makes "ignorefs ..." much more useful.

Tweak the wording.
2004-04-19 01:10:48 +00:00
lukem
1efa87943c Rework "ignorefs" behaviour:
*	types are added to (rather than overriding) the default list
    *	Still use "ignorefs none" to clear the list (including the default list)
    *	Fix argument parsing when using "none"
This makes "ignorefs" much more useful if you just want to add another
fstype to the default list.

Simplify variable assignment.
2004-04-19 01:05:22 +00:00
lukem
1df7609f71 xref locate.conf(5) 2004-04-19 00:32:44 +00:00
lukem
59aeaab3a6 Note that 'ignorefs type' is used as an argument to 'find -fstype'
and that "sysctl vfs.generic.fstypes" will list the available fstypes.
2004-04-19 00:30:42 +00:00
lukem
5d3311e08a tweak roff in previous 2004-04-19 00:28:11 +00:00
lukem
3333d5f7f7 Use "sysctl vfs.generic.fstypes" to determine the list of available fstypes. 2004-04-19 00:18:46 +00:00
lukem
fad77af2ac Add "vfs.generic.fstypes" sysctl, which contains a space separate
list of file system types currently supported by the kernel.
Previously there wasn't an easy way to determine this.
(Code shamelessly cribbed from subr_disk.c::sysctl_hw_disknames().)

Use LIST_FOREACH() appropriately.
2004-04-19 00:15:55 +00:00
lukem
03d04e432b Document 'sbsize' and 'tc'. 2004-04-19 00:11:16 +00:00
matt
b0e01dddf8 ANSI'fy and de-__P 2004-04-19 00:10:48 +00:00
lukem
a90e0c0e64 Add MLINKS for:
CIRCLEQ_FOREACH(3) CIRCLEQ_FOREACH_REVERSE(3)
	LIST_FOREACH(3)
	SIMPLEQ_FOREACH(3)
	SLIST_EMPTY(3) SLIST_ENTRY(3) SLIST_FIRST(3) SLIST_FOREACH(3)
	SLIST_HEAD(3) SLIST_HEAD_INITIALIZER(3) SLIST_INIT(3)
	SLIST_INSERT_AFTER(3) SLIST_INSERT_HEAD(3) SLIST_NEXT(3)
	SLIST_REMOVE(3) SLIST_REMOVE_HEAD(3)
	STAILQ_EMPTY(3) STAILQ_ENTRY(3) STAILQ_FIRST(3) STAILQ_FOREACH(3)
	STAILQ_HEAD(3) STAILQ_HEAD_INITIALIZER(3) STAILQ_INIT(3)
	STAILQ_INSERT_AFTER(3) STAILQ_INSERT_HEAD(3) STAILQ_INSERT_TAIL(3)
	STAILQ_NEXT(3) STAILQ_REMOVE(3) STAILQ_REMOVE_HEAD(3)
	TAILQ_FOREACH(3) TAILQ_FOREACH_REVERSE(3) TAILQ_LAST(3) TAILQ_PREV(3)
2004-04-18 23:42:23 +00:00
lukem
2f6ed1a801 Reorder macros within a queue type to match queue.h definition order.
Document STAILQ_* as compatibility macros for SIMPLEQ_*.
Document TAILQ_LAST and TAILQ_PREV.
2004-04-18 23:39:13 +00:00
matt
5060b3b780 ANSI'fy and de __P 2004-04-18 23:35:56 +00:00
matt
58011725c3 Use M_ZERO appropriately. 2004-04-18 23:33:58 +00:00
matt
e3aa635a37 Fix tpyo. 2004-04-18 23:32:46 +00:00
matt
62fc149c0b Make this compile with XNS enabled 2004-04-18 23:32:21 +00:00
matt
0f0d66d66e Add entry for netns/ns_cksum.c 2004-04-18 23:31:45 +00:00
matt
ac57eb9d5b Constify sun_noname. 2004-04-18 22:20:32 +00:00
pk
03a07196d9 srmmu_vcache_flush_page/range: cover the case where we're called during
bootstrap before the cache parameters are setup.
2004-04-18 21:49:09 +00:00
matt
70e1f0d3ac ANSI'fy. 2004-04-18 21:48:15 +00:00
matt
91bb3497f5 Constify the addr parameter to sbappenaddr. 2004-04-18 21:47:11 +00:00
matt
e8f5e5bba8 Move uipc_usrreq and uipc_ctloutput to <sys/un.h> from <sys/socketvar.h> 2004-04-18 21:43:45 +00:00
dsl
5d2ed42cb6 Throw out all the crap to do with etc.old, instead install etc/tgz
into /.sysinst and use /etc/postinstall to do the merge.
2004-04-18 21:34:56 +00:00
matt
db6a0b431a De __P() 2004-04-18 21:00:35 +00:00
pk
27f928584a Code srmmu_vcache_flush_range & srmmu_vcache_flush_page more efficiently. 2004-04-18 20:46:39 +00:00