NetBSD/sys/uvm
christos 65c680cad7 Add PaX ASLR (Address Space Layout Randomization) [from elad and myself]
For regular (non PIE) executables randomization is enabled for:
    1. The data segment
    2. The stack

For PIE executables(*) randomization is enabled for:
    1. The program itself
    2. All shared libraries
    3. The data segment
    4. The stack

(*) To generate a PIE executable:
    - compile everything with -fPIC
    - link with -shared-libgcc -Wl,-pie

This feature is experimental, and might change. To use selectively add
    options PAX_ASLR=0
in your kernel.

Currently we are using 12 bits for the stack, program, and data segment and
16 or 24 bits for mmap, depending on __LP64__.
2007-12-26 22:11:47 +00:00
..
Makefile
files.uvm defparam PAGER_MAP_SIZE. 2007-10-25 13:03:03 +00:00
uvm.h
uvm_amap.c Allocate amaps from a pool_cache. 2007-12-08 15:46:31 +00:00
uvm_amap.h
uvm_anon.c Specify PR_LARGECACHE for anon_cache (which is insanely busy). 2007-12-20 23:50:00 +00:00
uvm_anon.h
uvm_aobj.c constify pagerops. 2007-12-01 10:40:27 +00:00
uvm_aobj.h remove a duplicated decl. of aobj_pager. 2007-12-01 10:40:03 +00:00
uvm_bio.c constify pagerops. 2007-12-01 10:40:27 +00:00
uvm_ddb.h
uvm_device.c Merge from vmlocking2 (use cdev_mmap()). 2007-12-08 15:33:09 +00:00
uvm_device.h
uvm_extern.h Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
uvm_fault.c Remove LOCK_ASSERT(!simple_lock_held(&foo)); 2007-10-11 19:53:37 +00:00
uvm_fault.h
uvm_fault_i.h
uvm_glue.c Merge scheduler changes from the vmlocking branch. All discussed on 2007-11-06 00:42:39 +00:00
uvm_glue.h
uvm_init.c call debug_init earlier. ie. before malloc is used. 2007-11-14 11:04:07 +00:00
uvm_io.c
uvm_km.c Fix DEBUG build. 2007-07-21 20:52:59 +00:00
uvm_km.h
uvm_loan.c constify pagerops. 2007-12-01 10:40:27 +00:00
uvm_loan.h
uvm_map.c add ddb "whatis" command. inspired from solaris ::whatis dcmd. 2007-12-13 02:45:09 +00:00
uvm_map.h When _KERNEL is defined, we have now grown a dependency on 2007-07-22 21:07:47 +00:00
uvm_meter.c
uvm_mmap.c Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
uvm_mremap.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
uvm_object.c
uvm_object.h constify pagerops. 2007-12-01 10:40:27 +00:00
uvm_page.c Use atomics to maintain uvmexp.{anon,exec,file}pages. 2007-11-29 18:07:11 +00:00
uvm_page.h
uvm_pager.c constify pagerops. 2007-12-01 10:40:27 +00:00
uvm_pager.h defparam PAGER_MAP_SIZE. 2007-10-25 13:03:03 +00:00
uvm_param.h
uvm_pdaemon.c Merge from vmlocking: 2007-11-07 00:23:13 +00:00
uvm_pdaemon.h
uvm_pdpolicy.h
uvm_pdpolicy_clock.c
uvm_pdpolicy_clockpro.c use separate nreslookup evcnt for obj and anon pages. 2007-08-01 14:49:55 +00:00
uvm_pdpolicy_impl.h
uvm_pglist.c
uvm_pglist.h
uvm_pmap.h
uvm_prot.h
uvm_readahead.c
uvm_readahead.h
uvm_stat.c
uvm_stat.h
uvm_swap.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
uvm_swap.h
uvm_swapstub.c
uvm_unix.c Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
uvm_user.c
uvm_vnode.c constify pagerops. 2007-12-01 10:40:27 +00:00