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 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
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 Improve chances of having this file compiled. 2007-11-24 14:20:41 +00:00
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 [experimentally] report failing commands 2007-11-28 21:46:52 +00:00
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 Use struct initializers. No functional change. 2007-12-07 19:46:18 +00:00
netnatm Use struct initializers. No functional change. 2007-12-07 19:46:18 +00:00
netsmb Don't exit an unheld mutex. 2007-07-10 21:05:03 +00:00
nfs nfsrv_create: fix a use-after-release. 2007-12-22 03:31:15 +00:00
opencrypto Use the softint API. 2007-10-08 16:18:02 +00:00
rump Convert many of the uses of __attribute__ to equivalent 2007-12-25 18:33:32 +00:00
secmodel Add PT_TRACE_ME to switch statement. 2007-12-01 21:59:49 +00:00
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 remove sun2 from no-rump list 2007-09-24 14:19:36 +00:00