summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipsec_input.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2002-06-13 06:48:40 +0000
committermillert <millert@openbsd.org>2002-06-13 06:48:40 +0000
commit1626cda64bffa9251cdfc86ad36faaae14175e57 (patch)
tree3f261420f9a3ed97966a67fc67a55fca4cdc75dd /sys/netinet/ipsec_input.c
parenti heard in the bar that this breaks things (diff)
downloadwireguard-openbsd-1626cda64bffa9251cdfc86ad36faaae14175e57.tar.xz
wireguard-openbsd-1626cda64bffa9251cdfc86ad36faaae14175e57.zip
Fixed some lpd bugs while on the plane from Calgary:
o mark fatal() as __dead o add SIGINT to the signal mask when installing abort() as a handler. We can end up in abortpr() due to several different signals and since abortpr() kill()s itself with SIGINT we need to explicately protect against the current process receiving SIGINT while in abortpr() o Don't leak the lock fd to children spawned by lpd o Close the lock file (and thus unlocke immediately in abortpr(). Otherwise, if there is an output filter the lock file only gets closed after we finish waiting for the output filter to die. This causes a race condition in lprm such that the per-printer daemon does not get restarted when lprm kills the active job (noticed during c2k2 with the mp3 printer spool ;-) o Open the printcap file with privs raised just in case it is not world-readable.
Diffstat (limited to 'sys/netinet/ipsec_input.c')
0 files changed, 0 insertions, 0 deletions