summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatthew <matthew@openbsd.org>2014-06-27 20:50:43 +0000
committermatthew <matthew@openbsd.org>2014-06-27 20:50:43 +0000
commit391dcabbc6f72adb961a57e898c69fba54f8d5d0 (patch)
tree9ac52ac3c9e6dea66adc3e1ad5fc448e00729606 /lib
parentOpenBSD supports mmap() on block special files too. (diff)
downloadwireguard-openbsd-391dcabbc6f72adb961a57e898c69fba54f8d5d0.tar.xz
wireguard-openbsd-391dcabbc6f72adb961a57e898c69fba54f8d5d0.zip
Cleanup support for legacy mmap flags
Move all legacy MAP_FOO values behind #ifndef _KERNEL and redefine them to either be aliases for existing flags (e.g., MAP_COPY -> MAP_PRIVATE) or 0. Also, add MAP_OLDFOO defines (behind #ifndef _KERNEL) so the kernel and kdump can remain compatible with current OpenBSD binaries. ok deraadt
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions