Commit Graph

25 Commits

Author SHA1 Message Date
christos 064b0504f7 c99 initializer 2006-10-16 02:43:19 +00:00
dsl 857f572e1b Make is worthwhile haveing #ifdef SMALL by making the Makefile set it when
SMALLPROG is defined (eg by src/distrib/commonMakefile.crunch).
Shrink SMALL version even more.
2005-09-05 20:56:41 +00:00
xtraeme a448b41c5a Remove main() prototype; WARNS=2 2005-01-20 15:55:01 +00:00
agc bf07c8719a Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22308, verified by myself.
2003-08-07 10:04:11 +00:00
augustss 1225b61055 Make it possible to see \ in dmesg. 2002-06-05 06:31:21 +00:00
simonb 73dfacb53d If "SMALL" is defined don't include kvm support, primarily for install
media.
2000-06-20 01:49:20 +00:00
simonb 643cb3c341 Don't check namelist when choosing to use the sysctl interface. 2000-06-16 03:51:00 +00:00
simonb 907def68ca ANSIfy. 2000-06-16 03:42:12 +00:00
simonb a7d9e1f93d Use new KERN_MSGBUF sysctl if running on a live kernel, and remove
setgid kmem bit from executable.
2000-06-16 00:20:23 +00:00
mrg b8ee40a314 discard privs as soon as possible. 1998-07-05 08:56:54 +00:00
enami 8c389fd0c2 Cosmetic change;
- indent continuation line by four space.
- put an empty line at the beginning of function which has no local variable.
1997-09-20 09:48:35 +00:00
enami c6e5d31119 Fix revived bug, described in PR#3285. But use a bit simple way;
Use loop count instead of hackery pointer play.
1997-09-20 09:43:22 +00:00
enami 2d4b680a58 Don't include <sys/cdefs.h> twice in same file. 1997-09-20 06:26:43 +00:00
leo 71af424fee Commit userland part of pr-1891. 1997-09-19 19:38:57 +00:00
lukem 5f4e3656d9 - cleanup for WARNS=1
- cleanup .Nm usage
1997-09-14 08:53:45 +00:00
mjacob f5c4107de6 We need a hint of *what* address is bad on the kvm_read. Also,
there are two reads- one for the msgbuf pointer, and then that
for what it points to.
1997-05-03 17:18:05 +00:00
thorpej ee5ba12678 Don't get stuck in an infinite loop if the msgbuf index is 0 or 1, from
enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3285.
1997-03-06 23:55:12 +00:00
cgd 0114e805ce convert to new RCS Id conventions; reduce my headache 1995-03-18 14:54:19 +00:00
cgd 5eeab43e28 more cleanups from Jim Jegers, passed over by me. 1994-12-05 20:15:31 +00:00
cgd 7b442030ed clean up import 1994-05-11 06:47:04 +00:00
jtc 2ddbb97f0f #include <unistd.h>, so getopt(), optarg, opterr, optind, and optopt
declarations can be removed from <stdlib.h>.
1993-10-13 18:33:45 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00