Commit Graph

2979 Commits

Author SHA1 Message Date
manu 41bfbd28fe On Darwin, mach_init is the system bootstrap process. It is responsible
for forking the traditional UNIX init(8) and it does the Mach port naming
service. We need mach_init for the naming service, but unfortunately, it
will only act as such if its PID is 1. We introduce a sysctl
(emul.darwin.init_pid) to fool a given process into thinking its PID is 1.
That way we can get mach_init into behaving as the name server.

Typical use:
/sbin/sysctl -w emul.darwin.init_pid=$$ ; exec /emul/darwin/sbin/mach_init
2002-12-24 12:15:45 +00:00
wiz cbd9802b91 Remove traces of old names (verifiedexec_load and /dev/verifiedexec). 2002-12-21 23:41:44 +00:00
wiz a054d0cce5 Add a BUGS section describing that async mounts are currently disabled,
and explaining the reason. From Julio Merino.
2002-12-21 20:33:35 +00:00
wiz 393a2f3aac dependent only has es, no as; from Adrian Mrva. 2002-12-21 12:50:54 +00:00
wiz b230951fd3 system with two ss, from Adrian Mrva. 2002-12-21 12:45:32 +00:00
wiz 5dd379b9d6 address has two ds, not three; from Adrian Mrva. 2002-12-21 12:43:07 +00:00
wiz a8abcee79e developed with one o only, from Adrian Mrva. 2002-12-21 12:41:58 +00:00
wiz 5fc05bb384 removable with only two es, from Adrian Mrva. 2002-12-21 12:27:14 +00:00
wiz 4afa55e863 Drop trailing whitespace. 2002-12-19 14:49:03 +00:00
lukem b57d4fa862 It's ipppctl not ipppcontrol ...
Also add synopsis for ipppctl.
2002-12-19 11:57:32 +00:00
wiz cb647c5704 Sort sections, new sentences begin on new lines, add a missing line,
fix a typo.
2002-12-18 19:20:05 +00:00
wiz 65bd87df00 Remove mention of update, per Kevin P. Neal in PR 19386. 2002-12-16 10:32:16 +00:00
scw 6054b38a2b Use getlabeloffset() instead of LABELOFFSET. 2002-12-12 11:40:17 +00:00
scw 1c4717cddb Use getlabel{sector,offset}() instead of LABEL{SECTOR,OFFSET}. 2002-12-12 11:34:46 +00:00
scw 992ae31275 Use getlabeloffset(3) instead of LABELOFFSET. 2002-12-12 11:06:12 +00:00
jdolecek 5fd22809a5 Add kern.forkfsleep sysctl - set/get time (in miliseconds) for which
process would be forced to sleep in fork() if it hits either global
or user maxproc limit. Default is zero (no forced sleep).
Maximum is 20 seconds.
2002-12-11 19:14:34 +00:00
fvdl 53d30b7a60 Handle MBRs for x86_64. 2002-12-11 14:28:46 +00:00
scw 39a5a9dc76 Add two sysctls: kern.labelsector and kern.labeloffset.
These are of use to userland code which previously depended on the
hard-coded values of LABELSECTOR and LABELOFFSET to figure out the
location of the disklabel for a particular platform.

With the introduction of umbrella ports such as evbarm, evbmips, etc,
the location of the disklabel may vary between kernels for the same
MACHINE. This sysctl will allow userland programs to remain independent
of the particular flavour of MACHINE in such cases.
2002-12-11 12:59:29 +00:00
thorpej e8cc3884de Rename __LDPGSZ to AOUT_LDPGSZ, to accurately reflect what it is. 2002-12-10 17:14:02 +00:00
itohy 32c9c7f1cc Add WSKBD_TYPE_MAPLE and WSMOUSE_TYPE_MAPLE for Dreamcast Maple bus devices. 2002-12-10 13:05:09 +00:00
thorpej 7ae2f112dd Need <stdlib.h> for exit() prototype. 2002-12-06 02:26:14 +00:00
thorpej 92896efa64 Avoid strict alias warnings. 2002-12-06 02:20:43 +00:00
thorpej 764e56a614 Remove prototype for non-existent function log(). 2002-12-06 02:20:00 +00:00
thorpej cd81fc31ea Avoid strict alias warnings. 2002-12-06 02:18:37 +00:00
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