Commit Graph

70785 Commits

Author SHA1 Message Date
itojun
74b478c63c printf-format audit. from sommrfeld@netbsd.org. sync with kame. 2000-10-06 00:13:01 +00:00
tsutsui
fbc8920b4b variable clock_attached is not needed. 2000-10-05 21:20:48 +00:00
wennmach
36f6fb7e06 mtree uses strsvis, not strvis. 2000-10-05 20:16:02 +00:00
tsutsui
bc0aec12fa Make leds_intr() __inline. 2000-10-05 19:04:59 +00:00
tsutsui
50570826e7 Remove garbage in comment. 2000-10-05 18:22:41 +00:00
tsutsui
911552b39a pasto (s/mips/m68k/) 2000-10-05 18:21:10 +00:00
wennmach
45c4e425e6 Move out-of-order line to where it belongs. 2000-10-05 17:50:56 +00:00
lukem
c111e18a4d remove security/ 2000-10-05 15:47:04 +00:00
itojun
d745652834 add ripng (521 tcp/udp). PR 11139. 2000-10-05 15:19:58 +00:00
sommerfeld
dc3402136b Constify variables containing format strings 2000-10-05 14:32:50 +00:00
sommerfeld
37146bcc18 format checking for internal functions 2000-10-05 14:17:12 +00:00
sommerfeld
29dec280ee format checking for internal function 2000-10-05 14:16:10 +00:00
sommerfeld
8b2d1fefd2 Miscellaneous format string safety improvements 2000-10-05 14:09:07 +00:00
sommerfeld
ac07e85117 Enhanced format checking, mk II:
New option -Wno-format-extra-args : suppress warning for:
	printf("foo", bar);
since that isn't interesting from the POV of this audit, and it's more
common than most in some code.

also, do format args checking for
	printf(Aflag ? "format 1: %s" : "format 2: %s", bar);
albeit in a half-hearted way for now (just check the "then" case)
2000-10-05 13:08:57 +00:00
hubertf
316c9bbfc5 the ssh pkgs now install a /usr/pkg/etc/rc.d/sshd, not
/usr/pkg/etc/rc.d/sshd.sh.

Whether the existence of this lines is useful with ssh in tree is
a seperate issue.
2000-10-05 12:46:34 +00:00
ad
5b09090e8e insure -> ensure 2000-10-05 12:35:33 +00:00
pooka
e678929d10 functionaliy -> functionality 2000-10-05 12:31:15 +00:00
ad
5df1120c67 Add some more completion status codes. 2000-10-05 11:23:05 +00:00
lukem
7f6d9c1606 add dinky .pdf target which runs ps2pdf on the .ps source 2000-10-05 09:02:48 +00:00
lukem
4097713770 use .(disp / .disp) instead of .Bdlit / .Ed 2000-10-05 08:54:55 +00:00
lukem
91f09e2428 - remove Bdlit macro; .(disp already exists
- update copyright date
2000-10-05 08:54:04 +00:00
lukem
8aedd036d2 indent paragraph following "in the following statement, This software [...]" 2000-10-05 08:37:55 +00:00
ragge
de4982c7fa Fix bug that prevented DMA to work on SCSI chain B. This fixes PR#11124
but in a different way than suggested by the submitter.
2000-10-05 07:34:49 +00:00
bouyer
2e6cb6a878 When 802.1Q MTU, we have to ignore the Frame Too Long errors, and there's no
need to disable RWT and JAB.
2000-10-05 07:22:43 +00:00
itojun
8f6dee4c39 make random(3) manpage meet with actual implementation.
argument to srandom() and initstate() were changed in
lib/libc/stdlib/random.c 1.28 -> 1.29, and manpage was left behind.
2000-10-05 06:21:53 +00:00
itojun
a6f9652adf always use rnd(4) for IPsec random number source. avoid random(9).
if there's no rnd(4), random(9) will be used with one-time warning printf(9).

XXX not sure how good rnd_extract_data(RND_EXTRACT_ANY) is, under entropy-
starvation situation
2000-10-05 04:49:17 +00:00
enami
9b6f3e1ce2 Don't explain -s twice. 2000-10-05 03:24:41 +00:00
itojun
544bd86193 don't print pfkey statistics twice. from uep 2000-10-05 03:22:59 +00:00
enami
3cc984aab8 Make this file compiles on alpha. 2000-10-05 03:21:01 +00:00
cgd
59706f1322 clean up and consistency for CP0 Count, Compare, Wired, and Config
access function names and prototypes.
2000-10-05 02:36:44 +00:00
tv
9366f12ec0 Move "rgb.db" from xbase to xserver. In its Berkeley DB compiled form, it
is used only by the X server, and should be grouped there.  Later we may
also add unconditional install of the source-form "rgb.txt", usable by all
programs, into xbase.

This allows the xbase set to be shared between the mipsel platforms, and all
m68k platforms except atari (which has additional XF86 add-ons).
2000-10-05 02:27:01 +00:00
cgd
b1b364243d always have to declare cpu_arch and the related constants (since setting
it isn't conditionalized).  (d'oh!)
2000-10-05 02:13:14 +00:00
itojun
05a03575d1 avoid conflicting manpage filenames (like err.3) 2000-10-05 01:55:49 +00:00
augustss
7ce859b8d0 Allow 16-bit only speakers to work. 2000-10-05 01:35:07 +00:00
cgd
7fefa594f7 add two blank lines 2000-10-05 01:17:20 +00:00
cgd
36123017cb nuke mips3_clearBEV(). There's really no point in coding a
special-purpose assembly routine for things like this.
2000-10-05 01:06:06 +00:00
cgd
3f1d3c3066 tweak cpu_arch. Eliminate all direct checks of it (making them
use the macro CPUISMIPS3 -- which is badly misnamed), and set it
from #defines named CPU_ARCH_N (where N is 1..5, 32, 64).
2000-10-05 00:52:59 +00:00
tv
a22da181d6 Merge compiled XKB keymaps to the xserver set (they aren't usable without
the X servers anyway).  This lets several m68k platforms (all but atari)
share the xbase set.
2000-10-05 00:41:20 +00:00
mrg
4f75145ec1 s/vm/uvm/ in a bunch of error messages. 2000-10-05 00:37:50 +00:00
tv
8b5d5857ce Obliterate "man/md_share". The difference is negligible relative to the
size of the man set, and with all architectures' man pages in "man", we
can now share both "man" and "misc" on all platforms (CD-ROM space saver).
2000-10-05 00:11:43 +00:00
jdolecek
2fa1ccfa6e bootpath_build(): implement slighly more clever algorith to find boot
flags in the bootpath: only treat the rest as boot flags if the '-'
follows whitespace (space or tab)

This should fix the "boot disk4 netbsd-20001004-RFHS8036" lossage
Hubert Feyer pointed out in private e-mail.

Tested by: jdolecek (userland version)
Reviewed by: eeh
2000-10-04 23:05:08 +00:00
cgd
e9e1084ea3 rename mips_read_causereg -> mips_cp0_cause_read. nuke prototype
for mips_read_statusreg (which was apparently never implemented).
Provide prototypes and implementations for mips_cp0_cause_write,
mips_cp0_status_read, and mips_cp0_status_write.  (Writing can, of
course, be quite dangerous.)
2000-10-04 22:44:01 +00:00
itojun
bb4b4d9e39 ifp->if_ioctl may be NULL, so check it for SIOCSIFPHY*. 2000-10-04 22:37:41 +00:00
itojun
0c84fad435 more rnd(4). 2000-10-04 22:26:49 +00:00
eeh
6638fc7c06 Fix interrupt lossage problem and some cosmetic changes. 2000-10-04 22:18:25 +00:00
cgd
8b8afc8d07 the generic MIPS code doesn't even play at doing anything useful
with a MIPS4 option at this point -- all the code except for one single
spot is conditionalized with MIPS3.  So, don't even pretend about
MIPS4 for now, until it all gets cleaned up.
2000-10-04 21:41:47 +00:00
cgd
13eb329ef1 provide indicators of a few more things that might go in opt_cputype.h 2000-10-04 21:31:06 +00:00
thorpej
3ba709aec7 Make sure we're super-user for SIOCSIFPHYADDR, SIOCDIFPHYADDR,
and SIOCSIFPHYADDR_IN6.
2000-10-04 21:12:40 +00:00
is
b0ee22422c Regenerate from INSTALL. 2000-10-04 20:44:53 +00:00
is
6458912fb4 regenerate: INSTALL changes as implemented in GENERIC and Makefile. 2000-10-04 20:40:06 +00:00