Go to file
khorben 88481e0aaa Let PaX ASLR know about the current emulation
This effectively fixes PaX ASLR with 32-bits emulation on 64-bits
platforms. Without this knowledge, the offset applied for 32-bits
programs was really meant for a 64-bits address space - thus
shifting the address up to 12 bits, with a success rate of about
1/4096. This offset is calculated once in the lifetime of the
process, which therefore behaved normally when able to start.

Fixes kern/50469, probably also kern/50986

Tested on NetBSD/amd64 (emul_netbsd32)
2016-03-20 14:58:10 +00:00
bin sprinkle more volatile (needed for the rescue build with gcc-5.3) 2016-03-18 18:07:28 +00:00
common fix infinite recursion through thr_getspecific 2016-02-28 02:56:39 +00:00
compat remove the xfree86 reachover makefiles and the vast majority of 2015-07-23 08:03:24 +00:00
crypto remove unused variable 2016-03-16 21:41:25 +00:00
dist/pf Fix obviously broken condition. 2015-08-28 12:17:41 +00:00
distrib kill more mudflap for gcc-5.3 2016-03-18 18:24:25 +00:00
doc Mention to update MDATE in src/external/gpl2/groff/Makefile.inc on 2016-03-16 23:52:53 +00:00
etc add /usr/include/gcc-5 directory to the distribution and adjust the 2016-03-12 23:07:05 +00:00
external disable -fdelete-null-pointer-checks by default for now. 2016-03-19 20:54:49 +00:00
extsrc
games tetris(6) is not limited to CRT displays. noted by tnn 2016-03-12 03:14:59 +00:00
gnu has moved to external/gpl3 2016-01-16 18:41:12 +00:00
include PR/50983: David Shao: Protect stddef; 2016-03-20 14:11:49 +00:00
lib Update {read,write}fpsr to work everywhere 2016-03-20 14:22:46 +00:00
libexec move the compiler hack closer to the source of the fail 2016-03-18 10:10:21 +00:00
regress PR/50941: David Binderman: fix printf format 2016-03-11 18:26:40 +00:00
rescue Remove rtsol(8) and rtsold(8) as their functionality is in dhcpcd(8). 2014-09-11 13:10:03 +00:00
sbin Comment out unused logic. PR 50973 2016-03-20 04:24:46 +00:00
share Add NO{SSP,FORTIFY} 2016-03-13 17:56:56 +00:00
sys Let PaX ASLR know about the current emulation 2016-03-20 14:58:10 +00:00
tests Better tests for redircloexec and add t_shift (from kre) 2016-03-16 21:13:51 +00:00
tools set NETBSD_GCC_VERSION for GCC 5.3 separately. 2016-03-17 23:41:21 +00:00
usr.bin sprinkle more volatile (distribution build with gcc-5.3) 2016-03-18 18:42:25 +00:00
usr.sbin Expose debugging 2016-03-17 15:25:46 +00:00
build.sh Make evbarm64 (little endian) the default for aarch64. 2015-06-27 06:00:28 +00:00
BUILDING Document MKREPRO_TIMESTAMP. 2016-01-29 13:51:13 +00:00
Makefile fix direct reference to texinfo, bleh 2016-01-14 02:51:25 +00:00
Makefile.inc
UPDATING bump date for entry about using NetBSD's regex, now that it works 2016-03-06 10:26:57 +00:00