CVSROOT:        /cvs
Module name:    src
Changes by:     matt...@cvs.openbsd.org 2014/06/27 14:50:43

Modified files:
        sys/sys        : mman.h 
        sys/uvm        : uvm_mmap.c 
        usr.bin/kdump  : mksubr 

Log message:
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

Reply via email to