thorpej
2860ae9b30
Add proclist locking where appropriate (forgot to commit this file previously).
1999-07-22 23:00:27 +00:00
thorpej
3f176180d5
Garbage collect thread_sleep()/thread_wakeup() left over from the old
...
Mach VM code. Also nuke iprintf(), which was no longer used anywhere.
Add proclist locking where appropriate.
1999-07-22 22:58:38 +00:00
hubertf
9992044ef5
We're about to regenerate this ourselves, and will not split it.
...
Needed to make things going with (and probably without also) obj
dirs, pointed out by Matthias Drochner.
1999-07-22 22:44:42 +00:00
thorpej
2c668fb0d4
0 -> FALSE in a few places.
1999-07-22 21:27:32 +00:00
thorpej
40c08923a8
XXX LOCKING XXX of allproc; DDB runs with interrupts blocked, and MD
...
code should suspend other processors, so this probably isn't a problem,
but the comment is added anyhow.
1999-07-22 21:11:26 +00:00
thorpej
01a8cffe77
Add a read/write lock to the proclists and PID hash table. Use the
...
write lock when doing PID allocation, and during the process exit path.
Use a read lock every where else, including within schedcpu() (interrupt
context). Note that holding the write lock implies blocking schedcpu()
from running (blocks softclock).
PID allocation is now MP-safe.
Note this actually fixes a bug on single processor systems that was probably
extremely difficult to tickle; it was possible that schedcpu() would run
off a bad pointer if the right clock interrupt happened to come in the
middle of a LIST_INSERT_HEAD() or LIST_REMOVE() to/from allproc.
1999-07-22 21:08:30 +00:00
hwr
f6bf685b94
Regen.
1999-07-22 20:58:18 +00:00
hwr
baf7e04902
Insert a space in New Media Corporation. Fixes kern/7817 by Lloyd Parkes.
1999-07-22 20:56:38 +00:00
perseant
eda6e4cca4
Address PR bin/7623: if the filesystem is so small (or segment size so large)
...
that not enough segments are available for the second superblock, or to have
MIN_FREE_SEGS free for work room for the cleaner, newfs_lfs will now exit
with an error.
1999-07-22 20:14:29 +00:00
is
805851f4c7
Provide a script to compute the distribution set checksums.
...
Make the Makefile use it, instead of calling cksum manually.
1999-07-22 20:10:16 +00:00
wrstuden
3b55c25ad2
Teach both mac68k and macppc to create dialout devices. Modeled after
...
etc.i386/MAKEDEV's support.
1999-07-22 18:46:26 +00:00
thorpej
e8485145c1
Rearrange some code slightly.
1999-07-22 18:28:30 +00:00
thorpej
3586621927
Update for SDEAD.
1999-07-22 18:16:05 +00:00
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