67283 Commits

Author SHA1 Message Date
itojun
bbef2fbaac errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd 2000-07-07 15:10:32 +00:00
itojun
82cbc88d2a pull rpc/nettype.h in, for some of function prototype. checked by fvdl 2000-07-07 15:00:57 +00:00
itojun
7bf16d3ecc explicitly check if the address family is supported, by using socket(2). 2000-07-07 14:56:45 +00:00
mrg
2b69bc2115 BUFCACHE=20 2000-07-07 14:22:57 +00:00
mrg
4384010332 more extent_alloc() fixes:
check that newstart + size - 1 doesn't overflow the end of the extent, rather
than the "dontcross" value, which can easily overflow the end of an extent
when being asked for an object with a large boundary requirement.  this test
is more valid, in any case, and fixes extent_alloc() failure when the start of
the extent is not "aligned".
2000-07-07 14:10:48 +00:00
ad
136e84eb05 Redo previous slightly; add `-m' option to allow multiple instances. 2000-07-07 14:09:41 +00:00
mjl
29494f79fb Update manpage to new options. 2000-07-07 13:59:40 +00:00
bouyer
2646cf1612 Use the CMD PCI0648/9 IRQ ACK code for the 0646 too, makes the 0646 works
in native mode.
2000-07-07 13:54:25 +00:00
ad
2f3d5bfcd0 Don't allow more than one instance when running as root. 2000-07-07 13:53:14 +00:00
enami
bc7d39c732 Extract file flags of symbolic link. 2000-07-07 13:24:33 +00:00
tsubai
446c144ae3 Set PIR only if MULTIPROCESSOR is defined. 2000-07-07 13:22:06 +00:00
enami
2fffbc9c4c No space is allowed between owner and optional :group. 2000-07-07 13:21:32 +00:00
mrg
b91804af6c split up debug flags so i can turn off some of them 2000-07-07 13:10:34 +00:00
pk
cacf690261 Try both the BOOTPARAM and DHCP protocol (in that order as is the custom
with Sun machines).
2000-07-07 12:59:16 +00:00
mrg
4b21f66d57 work around a bug passing arguments to iommu_dvma_load_raw() 2000-07-07 12:53:29 +00:00
itojun
a1e2f21a4c errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsd 2000-07-07 12:50:15 +00:00
mrg
c0f4ea2a12 check that this *entry* is BUSCLASS_NONE (not the current device) in
bus_compatible().  fixes boot device detection on sbus.  while i'm here,
sprinkle DPRINTF()s in the boot device detection code.
2000-07-07 12:44:47 +00:00
itojun
ddf8cb2acb warnx?/errx? audit. don't pass variable/function return value alone.
use with "%s".  from openbsd.
2000-07-07 12:29:09 +00:00
itojun
fed1a1bf38 warnx?/errx? audit (don't pass variable alone). from openbsd. 2000-07-07 12:22:32 +00:00
itojun
127c71b0b1 do not pass user-supplied string alone, to errx?(). use "%s".
from openbsd.
2000-07-07 11:54:57 +00:00
itojun
7ebfc079d9 syslog() audit - do not use it with a variable alone. from openbsd 2000-07-07 11:39:41 +00:00
itojun
b596a9b104 rename securepath.3 into secure_path.3, as the function is named secure_path().
it is too hard to guess...
2000-07-07 11:05:06 +00:00
ad
e55de4b4cf Overhaul newsyslog(8). Changes:
- Code cleanup.
- Better flowing English in manpage (in places).
- `-n' option has been removed (was mainly a debugging convenience, I think).
- Add `C' flag: create log file if one doesn't exist.
2000-07-07 10:52:41 +00:00
ad
84b5af6242 Don't declare the "convenience functions" if _KERNEL is defined. 2000-07-07 10:47:06 +00:00
ad
813b16106e Pull in <sys/cdefs.h>, since we're using __BEGIN_DECLS/__END_DECLS. 2000-07-07 10:43:54 +00:00
ad
df69d356ce Remove decl for parseuserspec(), a local modification which acidentally got
comitted.
2000-07-07 10:35:58 +00:00
ad
44588903fc Couple of nits. 2000-07-07 10:33:12 +00:00
ad
dbd0d28913 Fix typo. This probably would have stopped passwd(1) working if
/etc/passwd.conf didn't exist.
2000-07-07 10:32:48 +00:00
bouyer
4097e6af1e Note promise Ultra/100 support. 2000-07-07 09:53:28 +00:00
fair
f7f2fe622e Add example text to answer PR 10232. 2000-07-07 09:25:36 +00:00
mrg
9a6c45e283 options BUFCACHE=20, plus a 64 bit config. 2000-07-07 08:44:16 +00:00
itohy
af83a97717 Add special treatment of shmat(2).
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
itohy
7daefc5a5a Passing "char" values to ctype(3) functions is problematic.
If an argument of a ctype function is outside "unsigned char"
and if it is not EOF, the behavior is undefined.

The isascii(3) is the sole exception of above and it was used to
be used to check a value was valid for other ctype functions in
ancient systems.  On modern systems, the ctype functions take
all values of "unsigned char", and this check is obsolete and
even wrong for non-ASCII systems.  However, we leave the isascii()
untouched for now, so as not to change the current behavior.
2000-07-07 08:03:36 +00:00
cgd
f447d9b890 to get (f)lex output to go to stdout, use -t (a flag supported by
flex) rather than -o/dev/stdout which uses a flex feature (-o isn't
in vendor lex, at least on solaris 7) and also requires that
"/dev/stdout" function in the expected manner.
2000-07-07 05:30:58 +00:00
fair
1513bd135d Add a proper DESCRIPTION to the man page, per PR 10072. 2000-07-07 05:18:49 +00:00
cgd
4aa53dcd31 test -h, not test -L. 2000-07-07 04:35:35 +00:00
cgd
fc10dadbb6 use '${MAKE}', not 'make'. 2000-07-07 04:26:57 +00:00
mjacob
58a60a43f2 Gah. Bad port from FreeBSD code (thanks Robert Elz) for setting
up default timeout for watchdogging commands.
2000-07-07 03:14:53 +00:00
eeh
3f2289a3d7 Handle bus_dma aligment properly. 2000-07-07 02:50:19 +00:00
imp
7753949047 Cleanup english usage in places.
Spell Windows CE with a space always.
Add Vr4181 to list of supported processors
Change VR to Vr since that's how it is typically represented in datasheets.

Changes approved by: Jun Ebihara-san
2000-07-07 01:39:26 +00:00
gmcgarry
da4ae70d1c Improve use of specific terms and definitions. 2000-07-07 01:26:13 +00:00
wrstuden
f420228afb Define splaudio as splbio and IPL_AUDIO as IPL_BIO only if IPL_AUDIO
is not defined. Previously tested for specific system architectures (i386,
etc.) rather than just looking for IPL_AUDIO.
2000-07-07 01:11:12 +00:00
mjl
5bae709009 Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also ANSIfy, make it use getopt instead of home-grown arg parsing,
and clean up a bit.
2000-07-07 00:18:29 +00:00
thorpej
2c9058efbb Oops, g/c some stuff from previous. 2000-07-06 23:29:13 +00:00
tsubai
059d5818cf include "opt_multiprocessor.h". 2000-07-06 23:27:29 +00:00
tsubai
9ad1103d98 Make it compile with "options MULTIPROCESSOR". 2000-07-06 22:56:22 +00:00
thorpej
65780061bd Define some more CTB formats. 2000-07-06 22:46:54 +00:00
mjl
c9898c1e6e Skey hash algorithm regression test. 2000-07-06 22:35:57 +00:00
mjl
c31ef53b64 Bump libskey version. 2000-07-06 22:33:50 +00:00
mjl
62318ed7e2 Bring s/key closer to RFC2289 conformance by pulling in changes
from OpenBSD to make use of different hash functions possible.
Also factored out some common code pieces, ANSIfied and
corrected SHA1 hash to make the result match up with the
regression examples in above RFC.
2000-07-06 22:30:18 +00:00