diff options
author | 2016-03-31 23:00:46 +0000 | |
---|---|---|
committer | 2016-03-31 23:00:46 +0000 | |
commit | eaf6a821b6b7a2c84d4641e7c5912a76e70adfe2 (patch) | |
tree | eef4926ccc0ae24164f09313356f7cfdc06da141 /sys/dev/i2c/ihidev.c | |
parent | Increase size of the clone bitmap. A limit of only 64 device clones (diff) | |
download | wireguard-openbsd-eaf6a821b6b7a2c84d4641e7c5912a76e70adfe2.tar.xz wireguard-openbsd-eaf6a821b6b7a2c84d4641e7c5912a76e70adfe2.zip |
Go in the background much later, to reduce possible silent failures.
rev. 1.34 moved the call to daemon() before the chroot, thus hiding
errors if the target directory or _tftpd user don't exist. To go in the
background later we need to preopen /dev/null. The code is put in
a daemon(3) like function that could be used in other daemons.
Lack of error reporting spotted by ajacoutot@, initial diff from dlg@.
rdaemon() "concept" discussed with semarie@. ok ajacoutot@ dlg@
Diffstat (limited to 'sys/dev/i2c/ihidev.c')
0 files changed, 0 insertions, 0 deletions