NetBSD/sys
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
..
altq
arch Remove #if 0'ed microtime from the simulator days. 2007-12-26 16:39:27 +00:00
coda Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
compat Merge more changes from vmlocking2, mainly: 2007-12-26 16:01:34 +00:00
conf Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
contrib/dev/ath use __KERNEL_RCSID() 2007-12-11 05:20:33 +00:00
crypto use __KERNEL_RCSID() 2007-12-11 23:31:07 +00:00
ddb Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
dev Add device suspend/resume/detach. (Tested with drvctl -S bnx0, 2007-12-26 04:06:29 +00:00
dist Poison struct route->ro_rt uses in the kernel by changing the name 2007-12-20 19:53:29 +00:00
fs Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
gdbscripts
ipkdb
kern Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
lib Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
lkm Convert all the system call entry points from: 2007-12-20 23:02:38 +00:00
miscfs Merge more changes from vmlocking2, mainly: 2007-12-26 16:01:34 +00:00
net Convert to using if_set_sadl() instead of arc_storelladdr(), catching 2007-12-25 23:31:26 +00:00
net80211 Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
netatalk Get the rtentry from forwro in one less step. 2007-12-21 02:46:37 +00:00
netbt
netinet Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
netinet6 Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
netipsec - Remove remain <= MHLEN restriction in m_makespace() 2007-12-14 20:55:22 +00:00
netisdn __FUNCTION__ -> __func__ 2007-12-15 00:39:14 +00:00
netiso Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
netkey
netnatm
netsmb
nfs nfsrv_create: fix a use-after-release. 2007-12-22 03:31:15 +00:00
opencrypto
rump Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
secmodel
stand
sys Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
ufs Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
uvm Add PaX ASLR (Address Space Layout Randomization) [from elad and myself] 2007-12-26 22:11:47 +00:00
Makefile