thorpej
2715b812d1
Rework the process exit path, in preparation for making process exit
...
and PID allocation MP-safe. A new process state is added: SDEAD. This
state indicates that a process is dead, but not yet a zombie (has not
yet been processed by the process reaper).
SDEAD processes exist on both the zombproc list (via p_list) and deadproc
(via p_hash; the proc has been removed from the pidhash earlier in the exit
path). When the reaper deals with a process, it changes the state to
SZOMB, so that wait4 can process it.
Add a P_ZOMBIE() macro, which treats a proc in SZOMB or SDEAD as a zombie,
and update various parts of the kernel to reflect the new state.
1999-07-22 18:13:36 +00:00
thorpej
40d9e23179
Define the Volume Tag format.
1999-07-22 17:43:53 +00:00
tron
017c26041b
Update for XFree86 3.3.4 changes.
1999-07-22 16:58:05 +00:00
itojun
86ef461e35
avoid u_long and hardcoded numbers.
1999-07-22 15:46:13 +00:00
kleink
6546b1feed
Try $TMPDIR first, then fall back to _PATH_TMP.
1999-07-22 15:09:45 +00:00
itojun
7fee35f579
- implement IPv6 pmtud, which is necessary for TCP6.
...
- fix memory leak on SO_DEBUG over TCP.
1999-07-22 12:56:56 +00:00
lukem
a7611f40ee
- document LOCALBASE, CROSSBASE and X11BASE
...
- xref mk.conf(5) correctly
- add a see also section
1999-07-22 11:08:30 +00:00
lukem
fb5a2a2eb1
remove sh warning when invoked with no args
1999-07-22 10:08:17 +00:00
lukem
7175d3e631
add acronyms
1999-07-22 10:07:12 +00:00
augustss
9e89bd8c34
The configuration and interface locators are pointless for the generic
...
USB device.
1999-07-22 09:35:06 +00:00
leo
416221c95b
Do the mesgbuf initialisation a bit earlier in the boot process. This
...
makes debugging the console somewhat easier.
1999-07-22 09:20:38 +00:00
itojun
76fc599a8d
change unnecessary u_long/long into u_int32_t or something relevant.
...
more fixes should follow.
1999-07-22 03:59:42 +00:00
itohy
b70a1b7220
A caught signal is blocked in the handler and
...
must be unblocked to do the default action.
The old code may generate weird exit status
on signals.
1999-07-22 03:02:36 +00:00
hubertf
a335a76e3b
s/atoi/strtol/ and check if argument given to -i was really a valid
...
number.
Patch submitted in PR 6456 by lha@stacken.kth.se
1999-07-22 02:04:13 +00:00
hubertf
e39d2b9c32
Allow -L on both files, not only one.
...
Reported in PR 1947 by Niklas Hallqvist <niklas@filippa.appli.se> and
also fed back to the GNU RCS maintainers.
1999-07-22 01:48:09 +00:00
hubertf
1972d67d47
add ./usr/share/info/am-utils.info
1999-07-22 01:17:41 +00:00
hubertf
7da1e27a09
Build and install info page.
1999-07-22 01:16:59 +00:00
hubertf
b568888491
Add code to DTRT with the info file, now that we can use it.
...
Patch submitted in PR by Minoura Makoto <minoura@hauN.org>
I'll not re-import amd but rather perform the steps to get
things going manually.
1999-07-22 01:14:22 +00:00
mrg
7199fd8f7b
add wtf
1999-07-22 01:05:20 +00:00
mrg
3fd868859a
Allen Briggs' wtf(6) to grovel the acronyms database.
1999-07-22 01:03:20 +00:00
hubertf
8b10c79f68
Use standard variable "$0" for the whole line instead of the non-standard,
...
undocumented "$LINE".
Submitted in PR 7041 by Greg A. Woods <woods@weird.com>
1999-07-22 00:47:50 +00:00
thorpej
4d256c199f
When dlopen()'ing a shared object without an absolute pathname, search
...
for it in the rpath of the main program as well as the path specified
in LD_LIBRARY_PATH.
1999-07-22 00:18:19 +00:00
simonb
aaa754c3c9
Include the root-path in the bootptab and dhcpd.conf examples.
1999-07-21 23:41:27 +00:00
mjacob
55d3c9279d
add in inclusion of file to get memset prototype declaration.
1999-07-21 21:46:17 +00:00
tron
f808646713
Use wsmouse protocol for PS/2, Logitech bus and Microsoft InPort mice
...
by default. The X11 distribution included in our last release already
supports it and the wsmouse protocol can be used for any of the above
and for USB mice.
1999-07-21 20:28:45 +00:00
tsubai
07bc0e694d
media-bay CD support.
1999-07-21 19:20:04 +00:00
ad
a41907cbf8
- Style nits
...
- Kill some of the dainbramage in variable-depth copycols()
1999-07-21 19:19:03 +00:00
kleink
03f1e83295
Try $TMPDIR before resorting to _PATH_TMP.
1999-07-21 17:56:34 +00:00
tron
e9ac36eda7
Add "setblk" as alias for "blocksize" and "setdensity" as alias for
...
"density". This makes life easier for people which use NetBSD and Linux.
1999-07-21 17:10:08 +00:00
kleink
fbfc6d0d28
Rather than hardcoding _PATH_TMP (and relying on const string concatenation),
...
try TMPDIR (if set in the environment).
1999-07-21 15:20:55 +00:00
mrg
f484530816
do not "quote" SAMISCMAKEFLAGS values, it causes pain and suffering.
1999-07-21 13:34:34 +00:00
jtk
be9d0297fd
fix handling of port number preceded by minus sign to restore documented behavior
1999-07-21 13:24:56 +00:00
hubertf
b7e11e5c37
const poisoning
...
Patch submitted in PR 8039 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 13:19:10 +00:00
hubertf
6cc6041b97
When atc(6) parses its game definition files, the check for `width'
...
being defined more than once incorrectly checks for `height' having
been previously defined instead.
Patch submitted in PR 8038 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 13:10:47 +00:00
tron
04638befd3
Update for XFree86 3.3.4 changes.
1999-07-21 13:10:23 +00:00
is
3379ab3fac
Warn people to add at least a /usr when asked (whoever really knows better
...
will know how to ignore that advice).
Warn people not to use the c partitions for anything.
Advice people to use the look-at-disklabel option to find out about the
NetBSD names of their partitions.
1999-07-21 11:35:27 +00:00
is
c7113b3b3a
add missing colon
1999-07-21 11:25:23 +00:00
mycroft
4b3222031d
s/dbm/hash/, since we don't support dbm files in sendmail.
1999-07-21 07:06:01 +00:00
mycroft
b28948e638
Make an aliases.db file when we install the aliases file.
1999-07-21 06:51:30 +00:00
cgd
b02d81404c
avoid repeated error messages by making bytes(), lines() and rlines() return
...
meaningful values, which can then be checked to avoid another error message.
1999-07-21 06:38:49 +00:00
hubertf
e1c8885621
Drop setgid privs early, via OpenBSD
...
Reported in PR 5970 by Joseph Myers <jsm@octomino.demon.co.uk>
1999-07-21 04:04:21 +00:00
hubertf
7287839679
Drop setgid privs early. Via OpenBSD, reported in PR 5970 by
...
Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 04:02:29 +00:00
hubertf
22c39e3b98
Drop setgid privs early; via OpenBSD reported in PR 5970 by
...
Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 03:59:41 +00:00
hubertf
054e79fedd
Drop setgid privileges early. Derived from OpenBSD and sent in as PR 5970
...
by Joseph Myers <jsm28@cam.ac.uk>.
1999-07-21 03:56:53 +00:00
mycroft
01ec1d5609
Don't try to play games with the BSS; just make it work.
1999-07-21 03:32:53 +00:00
briggs
a33d38257c
Declare struct pmap kernel_pmap_store extern.
1999-07-21 03:18:21 +00:00
oster
5cef006d40
Need to splbio()/splx() protect some of the reconstruction stuff.
...
Without this, we have potentially bad interatctions with the pool
code.
1999-07-21 03:15:26 +00:00
mjacob
8dd6bc6db8
Correct prototyping- gettimeofday takes an address of a struct timeval.
...
localtime needs an address of a time_t. A time_t is not the same as
{struct timeval}.tv_sec.
1999-07-21 02:02:27 +00:00
lukem
550a51c5a5
IIRC, "IIRC" == "if i recall correctly". :)
1999-07-21 01:14:49 +00:00
thorpej
befbb301fd
Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
...
method.
1999-07-20 23:07:12 +00:00