Commit Graph

152113 Commits

Author SHA1 Message Date
manu
6eca4f09f3 Correctly check read() return value: it's signed (Coverity 1251) 2006-10-09 06:17:20 +00:00
mrg
273c5b01ad avoid bringing in mc146818 routines for kernels that do not have the
'rtc'-style clock linked in.  put the rtc code in it's own file and
only link it in if it is actually configured.  fixes PR#23342.
2006-10-09 03:34:56 +00:00
oster
04200d30df Remove unused variable. (Noted by mrg. Thanks.) 2006-10-09 02:43:28 +00:00
martin
fadbb60986 Remove unused variables. 2006-10-09 00:39:06 +00:00
martin
dd30915732 Fix PR port-i386/33550 by Scott Ellis as suggested:
make sure the overrides to STRIPFLAGS etc. persist by including
bsd.own.mk earlier.
2006-10-09 00:00:34 +00:00
cube
a109a81207 Don't look at CPUID_TM in cpu_feature if vendor is AMD because it has a
totally different meaning...  (Namely, Long Mode ability, which is, well,
expected on family 15 models.)
2006-10-08 23:58:14 +00:00
christos
d189b90166 Don't re-use dev in ptmopen, because we need to check the minor again for
linux. Add some more debugging.
2006-10-08 23:54:19 +00:00
oster
89d18f0e72 Fix previous a different way. (pseudo_disk_init() needed to be called earlier) 2006-10-08 23:22:26 +00:00
martin
0efa9c8ed3 Make lo* always have the IFF_RUNNING flag set, to apease some
SNMP apps. Fixes PR kern/11830.
2006-10-08 23:19:32 +00:00
christos
aa4e53f0e7 Call pseudo_disk_init in the autoconfig case. 2006-10-08 22:57:51 +00:00
christos
057b918239 add {proc,lwp}_initspecific and use them to init proc0 and lwp0. 2006-10-08 22:57:11 +00:00
christos
3ad77842ea XXX: FIXME: Cannot assert sleepable here; called from lwp_exit2 which is not. 2006-10-08 22:55:48 +00:00
kardel
f34e7857d3 keep len correct when substituting variables - fixes PR/24458 2006-10-08 22:21:14 +00:00
bouyer
af0dfc77d5 Alias 'halt' to 'poweroff' for now ... 2006-10-08 22:16:27 +00:00
elad
93bbf8101f PR/32759: Ulrich Heilmann: Output of cat -s -n is wrong
Applied patch from David A. Holland, thanks!
2006-10-08 21:52:56 +00:00
dogcow
f6a57672cd Build virecover.0 2006-10-08 21:47:21 +00:00
apb
b6a988f3f2 Add man page for rcs2log(1). 2006-10-08 21:28:08 +00:00
apb
8371d48da2 Install the man page for rcs2log. 2006-10-08 21:27:21 +00:00
apb
83863ce48b Man page for rcs2log, obtained from a newer version of cvs.
GPL licenced.  Thanks to rix_h in #netbsd-code.
2006-10-08 21:26:37 +00:00
elad
ac3f498792 Typo, from David A. Holland on #NetBSD-code, thanks! 2006-10-08 20:12:27 +00:00
elad
4967fa3f06 PR/20875: Robert Elz: Incorrect facts in rtsol(8) man page
Patch applied, thanks! (yes, I've read the audit-trail. This is correct.)
2006-10-08 19:36:05 +00:00
uwe
d9338e1f50 general_exception() is called with all interrupts masked in SR
(effectively we were running syscalls with interrupts disabled).
splx back to previous interrupt level from tf->tf_ssr.

XXX: tlb_exception() still has that problem.
2006-10-08 18:20:42 +00:00
martin
a073765d4a Apply patch from Peter Bex to fix PR bin/31922. 2006-10-08 18:09:47 +00:00
elad
4c99077841 PR/31497: Robert Elz: rc.d/accounting should have KEYWORD: shutdown 2006-10-08 18:08:39 +00:00
apb
eaa27e0a0c Make this compile again. Reported by Steven Bellovin. 2006-10-08 18:00:30 +00:00
apb
24f8b5315f Clarify that DESTDIR/OBJDIR/etc are absolute paths, but build.sh
-D/-O/etc allows relative paths.

Closes PR 32345 by Andre Luiz de Oliveira.
2006-10-08 17:54:30 +00:00
peter
e263dfd62f WFORMAT is no more... 2006-10-08 17:52:28 +00:00
elad
83704dec18 PR/28368: Peter Postma: unrecognized option `-Wnetbsd-format-audit'
Apply patch from rivo nurges in #NetBSD-code, thanks!
2006-10-08 17:16:51 +00:00
riz
6833444ffd Note which interface caused a resolv.conf to be created. From
Robert Elz in PR#21109, tested by Rivo Nurges.
2006-10-08 17:09:32 +00:00
rpaulo
6bd56789c1 Add kttcp. 2006-10-08 16:56:18 +00:00
rpaulo
bfbbf2d900 Add missing initializer. 2006-10-08 16:53:43 +00:00
apb
4db4ce3a05 Document the -network=netname/prefixlength syntax. Requested in
PR 26891 by Arto Selonen.

Also some mdoc improvements.
2006-10-08 16:35:19 +00:00
dbj
e10e76d4c6 make -t cd9660 obey -x option similarly to ffs 2006-10-08 16:25:18 +00:00
elad
25c47f2333 PR/34602: sushant: Bug in malloc implementation contains dead code in
free_pages()

Applied patch from Mindaugas <unex at linija org> (in #NetBSD-code), thanks
2006-10-08 16:25:15 +00:00
elad
e18b1bdd1d PR/27233: Arto Selonen: 'options BUFCACHE' vs. 'sysctl vm.bufcache'
documentation differs
2006-10-08 15:56:50 +00:00
cube
886e1e7f71 Fix thinko about CPUID(0x80000000). 2006-10-08 15:51:30 +00:00
cube
ac64cd7dcd Treat AMD CPUs with family > 6 (in fact, 15) the same way as family 6, so
they get cache information right.  PR#32496 by Gregory McGarry.
2006-10-08 15:50:42 +00:00
elad
75783f892c PR/31140: Tetsuya Isaki: driver(9) does not describe about kqfilter 2006-10-08 15:44:25 +00:00
elad
dcd438d489 PR/33434: Jukka Salmi: wrong lp spool directory name in default printcap
Patch applied, thanks!
2006-10-08 15:28:49 +00:00
elad
0dd96e541d PR/19444: IIMURA Takuji: usleep(0); seems to microsleep(1);
Patch applied, thanks!
2006-10-08 15:25:28 +00:00
apb
50ef6180ea If PREVIOUSTOOLDIR was empty, then don't complain that it has moved.
Patch from Jukka Salmi in PR 33095.
2006-10-08 15:21:00 +00:00
elad
0bc9c7b601 PR/10429: Takahiro Kambe: bad144(8) dosen't show disk device.
Patch adapted to -current, thanks!
2006-10-08 14:52:14 +00:00
elad
7eab5cff73 PR/33029: Frank Kardel: /etc/services not up to date?
We probably won't be synchronizing with the IANA list (which is above 14k
lines), but would rather add the services <1024.
2006-10-08 14:30:26 +00:00
elad
805c3d6901 PR/22228: Jeremy C. Reed: a man page for virecover(8)
Man page added, thanks!
2006-10-08 14:19:17 +00:00
tron
77e4af1adc Make sure "libmagic" gets built after "libz". 2006-10-08 13:43:01 +00:00
pooka
9ce83b2450 add example on how to use SUN_LEN()
fixed lib/34744 by Christian Biere
2006-10-08 13:08:33 +00:00
bjh21
78a2e1354b Use RCSID(). 2006-10-08 12:41:51 +00:00
bjh21
78659f1508 Go back to not saving R14 on 32-bit CPUs, with the saving being conditional
on __PROG26.  This should make everyone happy except for those who don't like
#ifdefs.
2006-10-08 12:28:24 +00:00
bjh21
ecd6759513 Expose __PROG26 to assembly language so we can use it to decide whether
R14 is vulnerable.
2006-10-08 12:22:35 +00:00
bjh21
dc284185fb Use LDR/STR rather than LDM/STM for saving R14 over L_cksumdata. LDM/STM
are apparently very slow on some processors.  This is an interim measure
while I work out how to expose __PROG{26,32} to assembly language.
2006-10-08 12:06:53 +00:00