Commit Graph

2955 Commits

Author SHA1 Message Date
jonb
8a96157b87 While cleaning up other places that invoked $EDITOR, noticed that
this one had all the infrastructure of fork/exec/wait, like the
others, but called system instead of exec creating an extra PID
and associated memory usage during the edit.
2002-12-05 22:59:25 +00:00
itojun
7955954132 correct the use of sizeof() on memset(). sync w/kame 2002-12-05 02:07:03 +00:00
elric
60e3448f30 Make iteration count for PKCS#5 settable in the parameters files. 2002-12-04 05:02:29 +00:00
agc
19cc8c4892 Fix compilation problems on non-i386. 2002-12-01 08:19:48 +00:00
fvdl
f77d71f782 Enable bootselector code for x86_64.
XXX the ifdef-ed parts should be split off into a seperate file.
2002-11-30 13:47:19 +00:00
christos
f93fe60ac0 sync with routed 2.27 2002-11-30 04:04:23 +00:00
lukem
d348d3d723 tweaks for fparseln(3) move from libutil to libc:
- remove #include <util.h> if nothing else needed it
- remove LDFLAGS+=-lutil if nothing else needed it
2002-11-30 03:10:53 +00:00
enami
32d43b3252 Also, don't allocate string entries one by one. Instead, allocate one page
and divide it, to reduce memory usage.
2002-11-25 07:16:17 +00:00
fvdl
2ee89df87b Avoid format warning for off_t printf. 2002-11-24 21:49:15 +00:00
fvdl
304258c96f Compile mbr and mbr_bootsel on x86_64 2002-11-23 23:45:51 +00:00
blymn
9d90ef846f Renamed the verified exec fingerprint loader. 2002-11-23 10:53:55 +00:00
blymn
5447f70f9c Renamed verified exec fingerprint loader. 2002-11-23 10:52:49 +00:00
blymn
e58c186212 Removed poorly named fingerprint loader utility for verified exec. 2002-11-23 10:51:03 +00:00
wiz
b863b83c82 Add missing word. 2002-11-21 18:12:15 +00:00
lukem
eeca0be61b use YHEADER instead of YFLAGS/CLEANFILES 2002-11-18 13:45:02 +00:00
rtr
d64b3c2b83 Fix bug causing segmentation fault when no fs type specified 2002-11-18 05:48:00 +00:00
enami
34f6f0d4dc Typo in comment. 2002-11-18 04:38:43 +00:00
enami
89e4128421 Don't allocate struct entry one by one; it just wastes memory. 2002-11-18 04:28:03 +00:00
itojun
c0ddbdedc2 verifiedexec_parse.h is machine-generated, and shouldn't be committed.
tsutsui
2002-11-17 13:57:38 +00:00
itojun
e5964f595e use CFLAGS for -g (is it needed?) 2002-11-17 13:54:49 +00:00
itojun
bc0b132907 should be safer to cast to u_long than to cast down to int 2002-11-17 04:49:18 +00:00
tsutsui
b2c857ac58 Add a cast to sizeof in printf() arg since _BSD_SIZE_T is unsigned long
on some ports.
2002-11-17 04:44:42 +00:00
wiz
a6e74f9b81 Remove trailing space. 2002-11-16 23:54:16 +00:00
oster
01b2347533 Catch up on some documentation stuff:
- add a note about adding 'swapoff=YES' to /etc/rc.conf
- add a note about not using raid0[cd] for a filesystem.
- filesystems -> file systems
2002-11-16 22:49:48 +00:00
oster
c1058540a3 Cleanup and update usage(). 2002-11-16 17:22:36 +00:00
itojun
ff4dc2f86d set sa_len right 2002-11-16 16:39:55 +00:00
itojun
75af200131 die if strdup fails 2002-11-16 16:02:03 +00:00
itojun
967caa5cd2 cleanup makefile - use correct CLEANFILES, LDSTATIC and stuff
XXX why -g by default?
2002-11-16 14:25:10 +00:00
itojun
94ccb14a99 use strlcpy. use sizeof() instead of xxLEN to avoid de-synchronization 2002-11-16 14:15:35 +00:00
itojun
949bb0438c use strlcpy. initialize sa_len correctly. 2002-11-16 14:09:16 +00:00
itojun
4606602797 use strlcpy. sync w/kame 2002-11-16 14:06:56 +00:00
itohy
cbb1f0fb0f MKDYNAMICROOT for a.out 2002-11-12 14:33:48 +00:00
manu
99bc517790 Added sysctl to change all IRIX kernel values reported by uname and systeminfo:
OS name, hw name, kernel version, and so forth.
2002-11-09 09:03:56 +00:00
wiz
d1a3cd19aa Sort SEE ALSO. 2002-11-07 12:45:35 +00:00
christos
0261b4559e PR/16688: Robert Elz: No way exists to use MNT_IGNORE (custom C code excepted) 2002-11-07 12:43:50 +00:00
thorpej
3d3807182d Skip empty sections. From Allen Briggs. 2002-11-07 05:55:08 +00:00
manu
9a4dfe85fa Added two sysctl-able flags: proc.curproc.stopfork and proc.curproc.stopexec
that can be used to block a process after fork(2) or exec(2) calls. The
new process is created in the SSTOP state and is never scheduled for running.

This feature is designed so that it is esay to attach the process using gdb
before it has done anything.

It works also with sproc, kthread_create, clone...
2002-11-07 00:22:28 +00:00
enami
09fa660ec0 Fix typo in error message. 2002-11-06 05:26:54 +00:00
enami
45fd33fa87 Fix typo. 2002-11-06 05:23:57 +00:00
dbj
3f75e3780c check that a disklabel is valid before trying to extract partition
information from it when checking for apple ufs filesystems
2002-11-05 05:18:50 +00:00
simonb
f8c2d639ce When printing out nodes of type "string", don't print anything if
sysctl() reports that 0 bytes were returned.

Reported by Matt Green with "sysctl hw.disknames" on a system with no
disks.
2002-11-03 07:06:06 +00:00
wiz
05f5fc3aaf Lots of cleanup. 2002-10-29 14:11:06 +00:00
blymn
7f84eccbb6 Added fingerprint loader tool for verified exec. 2002-10-29 13:58:01 +00:00
elric
ae48183d48 bugfix: was still pulling random bits from /dev/random when generating
a paramsfile of type randomkey which does not need them.  Pointed out
by dan@netbsd.org.
2002-10-28 05:46:01 +00:00
jdolecek
f5b83162de change description of -w option to match reality
this fixes bin/12113 by Jim Bernard and bin/16011 by gabriel rosenkoetter
2002-10-26 12:06:04 +00:00
itojun
3772e08b03 be more picky about numeric arg parsing. sync w/kame 2002-10-25 02:20:37 +00:00
rtr
1031fab56c Removed "disklabel -I [-r] [-C] disk" from SYNOPSIS.
The code does not permit usage of the -I flag without either -e or -i.
2002-10-21 15:54:51 +00:00
enami
7409653fdf When printing filesystem specific parameters, also print the address and
port of server numerically.
2002-10-21 03:58:07 +00:00
wiz
82196526d4 New sentence, new line in last. Bump date for last. 2002-10-18 22:44:42 +00:00
atatat
f232e00070 Add "-b bootstr" for shutdown to pass to reboot(8), so that shutdown
(which runs rc.shutdown, which might do stuff like, say, save your
ipnat or ipf state for restoration on reboot) can tell machines (sparc
and sun3 machines presently) how to boot.
2002-10-18 20:35:36 +00:00