Commit Graph

53947 Commits

Author SHA1 Message Date
rh
cfa2c0bd79 Remove superfluous NULL argument from proclist_lock_read() call. 1999-07-25 08:55:46 +00:00
lukem
96c7d69308 fix up lossage WRT free()ing invalid pointers.
noted in [bin/8064]
1999-07-25 07:59:48 +00:00
simonb
b376436feb Handle decompressing bzip2 files. 1999-07-25 07:06:05 +00:00
thorpej
2fd5daf2d1 1.4H -- struct lock changed. 1999-07-25 06:39:53 +00:00
thorpej
ea8fb3e04a Turn the proclist lock into a read/write spinlock. Update proclist locking
calls to reflect this.  Also, block statclock rather than softclock during
in the proclist locking functions, to address a problem reported on
current-users by Sean Doran.
1999-07-25 06:30:33 +00:00
thorpej
50f9f26fe1 Add a spin lock mode to the lock manager. Provides a read/write
spin lock facility.  Some code and ideas from Ross Harvey.
1999-07-25 06:24:22 +00:00
abs
30353dfe38 s/makeing/making/ (in a comment) 1999-07-25 05:53:01 +00:00
itojun
2c1cc70ed3 add several ETHERTYPE_IPV6 case.
add DLT_PPP_SERIAL case into link type recognition,
hoping this to fix ppp packet recognition problem.
1999-07-25 05:52:16 +00:00
abs
1955b0db93 Put back pcs750.bin entries that were deleted in an overzealous cleanup 1999-07-25 04:23:49 +00:00
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