summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-04-23 11:47:15 +0000
committerderaadt <deraadt@openbsd.org>1996-04-23 11:47:15 +0000
commit7a0e2aeedbea2e103eddc2b308b1daa4361c5249 (patch)
tree08d6c25db9e74202f6e10753babbf55b8ed9bfe2 /sys/kern/kern_sysctl.c
parentconfig bsd (diff)
downloadwireguard-openbsd-7a0e2aeedbea2e103eddc2b308b1daa4361c5249.tar.xz
wireguard-openbsd-7a0e2aeedbea2e103eddc2b308b1daa4361c5249.zip
do not assume "." exists -- it might have gotten unlink()'ed -- we
don't want closedir() to SIGSEGV. as well, sample code in man pages should be very robust and not hint that closedir() might survive being passed opendir()'s failure code.
Diffstat (limited to 'sys/kern/kern_sysctl.c')
0 files changed, 0 insertions, 0 deletions