53938 Commits

Author SHA1 Message Date
explorer
a3d357795d print ip-proto PIM packets (ip proto 103) 1999-07-25 04:23:21 +00:00
ender
75fd3e78bb From Dave Huang (khym@bga.com) in PR 8059: the MAKEDEV script was trying
to create ttyNN as the dialout device instead of dtyNN.
1999-07-25 00:47:40 +00:00
hubertf
03fc787fb7 This patch marks unused parameters in atc(6) as such.
Patch submitted in PR 8058 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-25 00:24:38 +00:00
itojun
3ebb62ecc7 support for PPP_IPV6. 1999-07-25 00:15:22 +00:00
itojun
ea6e86754f print "ip6:" when -e is specified for DLT_NULL device. 1999-07-25 00:13:07 +00:00
hubertf
420d34ff13 Hardcore const poisoning
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8057
1999-07-25 00:06:13 +00:00
hubertf
5cfc1e8dc6 This patch makes atc(6) check for memory allocation failure.
Patch submitted by Joseph Myers <jsm28@cam.ac.uk> in PR 8056,
with small enhancement to make clearer when loser() is called
with NULL.
1999-07-24 23:58:15 +00:00
mjl
c5a4ae7a2a Use getopt instead of home grown command line parsing.
Patch from Joseph Myers <jsm28@cam.ac.uk> in PR/8062.
1999-07-24 15:50:44 +00:00
mjl
3546e46e42 Mention MASTER_SORT and MASTER_SORT_REGEXP. 1999-07-24 15:37:03 +00:00
tron
d5442d74c5 Fix NULL pointer access. Patch supplied by Dave Huang in PR kern/8055. 1999-07-24 15:10:02 +00:00
tron
d57a6fa9e5 Fix typo noted by "Wiz" in PR misc/8061. 1999-07-24 15:06:57 +00:00
mrg
93ff719d8c enforce MKSHARE 1999-07-24 09:09:10 +00:00
lukem
e7bc6284b0 how could we forget TLA? 1999-07-24 01:42:54 +00:00
augustss
bb9c6cca89 Fix some typos. 1999-07-24 01:42:49 +00:00
augustss
4047458551 More DIAGNOSTIC messages. 1999-07-24 01:40:19 +00:00
explorer
4cbf118032 add a SHARK.v6, so the shark specific kernel can get v6, too 1999-07-23 22:45:23 +00:00
jtk
f1d0da26f4 SMLSFB 1999-07-23 21:19:26 +00:00
thorpej
66986619c4 Clean this up. 1999-07-23 19:06:54 +00:00
christos
edac4bd44f fix SDEAD problems. 1999-07-23 18:40:27 +00:00
itojun
42c5caafe7 do not include unnecessary include files. 1999-07-23 15:21:17 +00:00
hubertf
e266af2900 add NFC 1999-07-23 13:49:12 +00:00
mrg
4ef3786b2a +AFAICR +AFAIR +BTTH +SEP +SFA +SMI 1999-07-23 13:32:28 +00:00
mrg
ca939c9fa0 now, make the previous work. 1999-07-23 09:44:38 +00:00
mrg
740c238d27 do not install in /usr/share if MKSHARE=no 1999-07-23 09:40:44 +00:00
veego
bb1198e9ee According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.
And add the new element "dying" to the state_abbrev array.
XXX Is is correct to have two elements with the number 3 in sorted_state?
1999-07-23 09:01:09 +00:00
veego
03fd106af5 According to the previous commit the new process state should be SDEAD and
not SDYING, so s/SDYING/SDEAD/.
1999-07-23 08:56:13 +00:00
mcr
62da59d7b4 getopt long functionality 1999-07-23 03:55:27 +00:00
itohy
17cd5b4ec1 Fix memory-related problems.
Other problems remain, though....
1999-07-23 03:12:31 +00:00
itohy
99624b0b6d Fix fowllowing problems:
1. If fork()ing, the program is executed twice.
2. If the ktruss(1) output is bufferd, the final output is not flushed
   (because it is executing).

    % ktrace -f - rm >/dev/null
    usage: rm [-dfiPRrW] file ...
    usage: rm [-dfiPRrW] file ...
    % ktruss date | cat
    Fri Jul 23 12:09:45 JST 1999
    Fri Jul 23 12:09:46 JST 1999
    %
1999-07-23 03:10:49 +00:00
mrg
7cd460ef5e add openssl config, include and examples directories. 1999-07-23 01:04:02 +00:00
hubertf
bbbbc755c7 add g, eg, veg 1999-07-22 23:56:25 +00:00
thorpej
014078a731 Garbage collect. 1999-07-22 23:31:07 +00:00
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