summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.h
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2014-10-03 17:41:00 +0000
committerkettenis <kettenis@openbsd.org>2014-10-03 17:41:00 +0000
commit37f480c7e4870332b7ffb802fa6578f547c8a19f (patch)
tree9a0fed08ea8a0403a4784cbade39b1f6dd841357 /usr.sbin/syslogd/syslogd.h
parentAdd a test that checks that there are no trailing new-lines or (diff)
downloadwireguard-openbsd-37f480c7e4870332b7ffb802fa6578f547c8a19f.tar.xz
wireguard-openbsd-37f480c7e4870332b7ffb802fa6578f547c8a19f.zip
Introduce __MAP_NOFAULT, a mmap(2) flag that makes sure a mapping will not
cause a SIGSEGV or SIGBUS when a mapped file gets truncated. Access to pages that are not backed by a file on such a mapping will be replaced by zero-filled anonymous pages. Makes passing file descriptors of mapped files usable without having to play tricks with signal handlers. "steal your mmap flag" deraadt@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.h')
0 files changed, 0 insertions, 0 deletions