Commit Graph

54130 Commits

Author SHA1 Message Date
tron a992b9baef Fix PR security/8069 differently:
Add a new option "-S" to "nroff" and use "nroff -S" instead of "groff -S"
because "nroff" adds some other (moderately useful and important) options
to the "groff" execution.
1999-07-26 19:31:53 +00:00
wrstuden eeefc02aec Add VLAYER to tests which will cause VOP_REVOKE to be called in sys_revoke(). 1999-07-26 19:20:09 +00:00
tron 3a0a25ad87 Use "groff -S -Tascii" instead of "nroff" to avoid security problems
if "man" is used by "root". Fixes PR security/8069 by Matthias Buelow.
1999-07-26 18:42:21 +00:00
hubertf 79705e8498 This adds a check for memory allocation failure to one place in
backgammon(6).  The use of write(2) for the message may seem odd, but
is used in another place in this game.  (Actually, a lot of
backgammon(6) could do with being substantially cleaned up.)

Patch submitted in PR 8080 by Joseph Myers <jsm28@cam.ac.uk>
1999-07-26 18:39:06 +00:00
jdolecek 89c23c0bb0 ntfs_getattr(): do not use dev2udev() on NetBSD
ntfs_readdir(): remove some junk accidentaly left in when merging the changes
1999-07-26 14:40:34 +00:00
jdolecek 4d71da4939 ntfs_mount(): there is no bdevsw() under NetBSD - to check if passed
block device is valid, just check if it's major is less than nblkdev
ntfs_mountfs(): dev2udev() not needed under NetBSD
1999-07-26 14:35:19 +00:00
jdolecek afae7d7f3b resolve conflicts 1999-07-26 14:02:30 +00:00
darrenr 0717bdfdf2 cleanup error message 1999-07-26 12:00:47 +00:00
darrenr 870447b902 don't allow destination addresses to be set for non-Point-to-point interfaces 1999-07-26 11:56:55 +00:00
christos 001e4d5767 add -lbz2; also sort the libraries properly. 1999-07-26 08:07:30 +00:00
itojun 11b205990c improve icmp6 printing on jumbogram case.
sync print-null.c with recent KAME code.
1999-07-26 06:26:58 +00:00
christos 3b943b9c88 declare EXITSTRING 1999-07-26 06:19:01 +00:00
itojun c4c4038edf s/u_short/u_int16_t/ and others (just to be sure) 1999-07-26 06:11:57 +00:00
cgd f886376518 be more efficient when doing the SYSTEM_LD_TAIL for -g kernels: don't
copy them just to strip them, use strip -o.
1999-07-26 05:20:44 +00:00
lukem 8a7a8ea124 regen 1999-07-26 04:21:21 +00:00
lukem 81a3e76281 remove superfluous casts 1999-07-26 03:01:09 +00:00
enami 18a17d4777 Don't use the result of inet_ntoa after calling the another inet_ntoa,
since they share the same static storage.
1999-07-26 02:16:35 +00:00
mrg 30c19fc81a update CRYPTO example to use ".sinclude" 1999-07-26 02:01:47 +00:00
itohy 2b46b2b820 Eliminate illegal cast from function pointer (sig_t) to object pointer (void *). 1999-07-26 01:49:09 +00:00
itohy 5558ca668c Eliminate illegal cast from function pointer (sig_t) to object pointer (void *).
Remove #include of unused headers.
Fix varargs usage.
KNF.
Const poisoning.
1999-07-26 01:31:47 +00:00
cgd 6b8e92147e after determining the size of a file being used as a msdosfs, seek back to
its start so subsequent writes go to the right places.
1999-07-26 00:28:57 +00:00
cgd 16db153ba2 fix MSDOSFS_DEBUG printf arg type 1999-07-26 00:14:27 +00:00
ad 724365fa3e Change the way fb devices are configured and attached:
- 'struct fbsoftc' created, which points to a 'struct fbinfo'
- 'struct fbinfo' for each device is allocated with fballoc()

This means:
- Console device doesn't get different 'struct fbinfo' at attach
- Console device doesn't get initialized twice
- Color rcons now works
- The current Xserver MUST BE REBUILT.
1999-07-25 22:50:28 +00:00
kleink 6e3b46de7d Make ordering of Xrefs consistent. 1999-07-25 21:59:13 +00:00
briggs b0412de83c Check whatis(1) if we don't find an acronym matching the argument 1999-07-25 20:29:04 +00:00
thorpej 2464b36e0a We're in section 6. 1999-07-25 20:02:48 +00:00
thorpej fc04cf9982 Add calls to lock the proclist as appropriate. 1999-07-25 18:33:47 +00:00
thorpej e70f375122 Lock the proclist as appropriate. 1999-07-25 18:05:31 +00:00
ad e6216650d8 Use unsigned integer to hold font bits in putchar(). [This looks like the
source of glyph corruption].
1999-07-25 17:36:40 +00:00
darrenr 8b165c84f7 don't log an error for ktrace if it's EPIPE - an error that should be
expected with fktrace/ktruss (i.e the error is `noise').
1999-07-25 13:59:08 +00:00
lukem 7dc5b4fed5 don't call ypdb_close() until after we're finished using data returned
by a previous ypdb_*() operation. seems to fix a problem noted in [bin/8064]
1999-07-25 09:36:02 +00:00
lukem 275da9fc4d because the ypserv struct datum and the db(3) struct DBT are not exactly
the same (datum is { char *, int }, DBT is { void *, size_t /* u_int */ }),
copy info to appropriate temporary variables before calling underlying
db(3) operations.
1999-07-25 09:33:37 +00:00
lukem 811d7dca54 fix up lossage WRT free()ing invalid pointers.
noted in [bin/8064]
1999-07-25 09:01:04 +00:00
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