reyk
52e929147e
This is just an example and we don't have to bump the set's version
number all the time, but let's use install59.fs as it will be the
first release that includes vmm.
9 years ago
sthen
15b6e6f370
add 6.0 firmware key
9 years ago
naddy
b20526d146
6.0 packages key
9 years ago
deraadt
5020d45add
add 6.0 base key for release after 5.9
9 years ago
tb
d5584793c3
Follow style(9) and drop lint /* NOTREACHED */ annotations from
the examples.
Diff from Juuso Lapinlampi < wub () partyvan ! eu >, thanks!
ok schwarze@
9 years ago
bcook
6662365936
Calling clone(2) with CLONE_NEWPID yields multiple processes with pid=1.
Work around this particular case by reseeding whenever pid=1, but as guenther@
notes, directly calling clone(2), and then forking to match another pid,
provides other ways to bypass new process detection on Linux.
Hopefully at some point Linux implements something like MAP_INHERIT_ZERO, and
does not invent a corresponding mechanism to subvert it.
Noted by Sebastian Krahmer and the opmsg team.
See http://stealth.openwall.net/crypto/randup.c for a test program.
ok beck@
9 years ago
rpe
f7116f47b4
Remove portslocks from /etc/daily. The ports LOCKDIR was moved from /tmp
to /usr/ports/pobj years ago.
OK millert@, ajacoutot@
9 years ago
deraadt
0e32a1f55d
date requires strict format including spaces, from miod
9 years ago
tedu
5724f1ae45
another case where bad things would happen after wrterror
9 years ago
tedu
57beaad82f
if somebody makes the mistake of disabling abort, don't deref null in
validate_junk. from Michal Mazurek
9 years ago
rpe
69394aed05
Replace single pattern case-blocks with simpler code.
OK halex@
9 years ago
rpe
27b3656f2f
Remove backslash, not necessary after '&&'
OK halex@
9 years ago
rpe
054cc29f2a
Replace last remaining `` with $()
OK halex@
9 years ago
millert
e33f078c05
Don't assume fprintf() will set the FILE * error condition.
Instead, check the return value of fprintf() and fflush()
and call clearerr() before returning on error. OK jca@
9 years ago
benno
9e6e578d7b
mention that ibuf_free() does not need a NULL check.
9 years ago
benno
a3c84db0c2
check for NULL in ibuf_free().
ok and slight improvement, mmcco@
ok semarie@ and encouragement tedu@ krw@
9 years ago
mmcc
7766921240
Remove NULL-checks before free() and a few related dead assignments.
ok and valuable input from millert@
9 years ago
guenther
b34242015e
Switch login(3) from lseek+read/write to pread/pwrite and only do the pread()
if the data is needed. Use O_CLOEXEC on the internal fd as MT paranoia.
Fix cast in offset calculation; delete register keyword;
prefer memset() over bzero()
ok millert@
9 years ago
deraadt
9fd93fdf64
welcome GENERIC.IP27 MP (dual cpu on O350 now)
ok visa
9 years ago
chl
0edf23d663
remove unused variable
ok tedu@
9 years ago
ajacoutot
2beb001665
Remove blank line for consistency with other rc.d scripts; no change in
behavior.
9 years ago
krw
d690be1bf1
mountd(8) changes require a pexp.
ok deraadt@
9 years ago
gsoares
a9b2bc5dde
add rcsid
9 years ago
sunil
83a87d3451
Now that default smtpd.conf aliases table has been switched to
'file' backend, we no longer have to generate the .db files.
Ok gilles@
9 years ago
sf
63d3463618
regen MAKEDEV
9 years ago
sf
afc2f24c19
add virtio-console driver
This patch adds a new driver for use of virtio-console devices as
ttys. It's still in an early state and not compiled by default, yet.
Currently it is only wired into amd64. i386 is still missing.
Discussed with uebayasi@, deraadt@
9 years ago
sf
6af539cb41
regen MAKEDEV
9 years ago
sunil
68066c2528
Switch to 'file' backend for aliases table for default configuration.
Ok gilles@ jung@ millert@
9 years ago
ajacoutot
b2419890c3
Revert, rc.d scripts have been fixed.
9 years ago
ajacoutot
27456e7c13
Comment the wait for start until I fix the x11 managers rc.d script.
9 years ago
ratchov
2377bf8149
Expose internal functions necessary to open audio devices and midi
ports using existing file descriptors.
9 years ago
reyk
0dc6f9d6e2
No need for an extra log.h
OK bcook@
9 years ago
deraadt
094b6ba06e
move to 5.9-beta
9 years ago
reyk
97252e04ad
Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.
OK bcook@ jung@
9 years ago
ajacoutot
643ff62e07
After starting, unconditionally wait up to $daemon_timeout seconds to check that
the daemon is actually running (instead of only when using rc_bg).
This *may* trigger the following side effect: if a daemon starts then stops
right away (because of a config parsing issue for e.g.), then it will slow down
the boot process because rc will wait a bit before considering the start action
failed. But at least it will allow us to detect those daemons and fix them or
their rc.d(8) script.
At least as far as I can tell, all base daemons should cope with it just fine.
ok sthen@ robert@ on an earlier diff
9 years ago
reyk
b8496badea
Move log_sockaddr() to from log.c to util.c as it is a local addition
and actually not a "logging" function. No functional change.
9 years ago
ajacoutot
55908109a4
Child will not return a config parsing error to the parent so rc.d will lie and
tell you that the daemon succesfully started; prevent this by running a config
check first.
Note that we only do this for those particular daemons, not all that support a
config test mode.
ok benno@ phessler@
9 years ago
ajacoutot
da0a0680c3
Tidy up _rc_wait().
ok sthen@ robert@
9 years ago
ajacoutot
d156959a8d
Tweak pexp.
9 years ago
tb
90b17882f1
Simplify return call of rand() and rand_r() to make it easier to read.
This is slightly less robust, but RAND_MAX must be one below a power
of two in both variants anyway.
Based on a suggestion by Matthew Martin.
ok tedu@
9 years ago
ajacoutot
1e90611816
Drop the now useless multicast setup comment.
prodded by tim@, ok mpi@
9 years ago
ajacoutot
3628daa062
Simplify multicast option handling (10 less lines) by matching /etc/rc behavior
towards other YES|NO options and drop the error warning.
with and ok tim@, ok rpe@ on an earlier diff
9 years ago
ratchov
0dbf1530bb
Add _sndiop user and group for (future) privileged sndiod process.
ok deraadt
9 years ago
jturner
84f196c498
Add pexp match otherwise rcctl stop vmd doesn't work. OK deraadt@
9 years ago
sthen
e8c24d0335
add commented-out unbound.conf entries for dns64 (sitting in my tree and ok'd
some time ago by phessler and IIRC also mikeb), and for qname-minimisation
9 years ago
deraadt
d697a492aa
automatic HOSTALIASES setup is a bad idea
9 years ago
tedu
acb3665fb0
tiny sanity check on file size
9 years ago
bcook
a1172a2c6e
bump the major for libcrypto/ssl/tls for a CRYPTO_chacha_20 ABI change
ok jsing@, deraadt@, beck@
9 years ago
tb
a02ad43121
Add a cast to silence a compiler warning by clang on FreeBSD.
From Craig Rodrigues.
ok tedu@
9 years ago
deraadt
eb43e0a37f
vmm node only needs mode 600
9 years ago