diff options
author | 2014-06-27 20:50:43 +0000 | |
---|---|---|
committer | 2014-06-27 20:50:43 +0000 | |
commit | 391dcabbc6f72adb961a57e898c69fba54f8d5d0 (patch) | |
tree | 9ac52ac3c9e6dea66adc3e1ad5fc448e00729606 /lib/libc | |
parent | OpenBSD supports mmap() on block special files too. (diff) | |
download | wireguard-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/libc')
0 files changed, 0 insertions, 0 deletions