NetBSD/libexec
thorpej da570a6238 PT_GNU_RELRO segments are arranged such that their vaddr + memsz ends
on a linker common page size boundary.  However, if the common page size
used by the linker is less than the VM page size being used by the kernel,
this can end up in the middle of a VM page and when the region is write-
protected, this can cause objects in neighboring .data to get incorrectly
write-protected, resulting in a crash.

Avoid this situation by calculating the end of the RELRO region not by
rounding memsz up to the VM page size, but rather by adding vaddr + memsz
and then truncating to the VM page size.

Fixes PR toolchain/55043.

XXX pullup-9
2020-03-04 01:21:17 +00:00
..
atrun missing <sys/stat.h> include. 2017-01-10 20:29:48 +00:00
comsat s/users/user's 2016-12-20 09:22:18 +00:00
fingerd Fix a sentence. 2016-12-24 05:40:49 +00:00
ftpd bump sizes 2019-10-15 18:29:32 +00:00
getNAME
getty uugetty is no more 2020-02-26 15:44:57 +00:00
httpd remove some XXX comments. one isn't relevant, and the other two 2019-12-06 05:53:20 +00:00
identd libnpf fix: link the library itself to libnv; libnpf users should not be 2019-08-24 13:20:52 +00:00
ld.aout_so Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
ld.elf_so PT_GNU_RELRO segments are arranged such that their vaddr + memsz ends 2020-03-04 01:21:17 +00:00
lfs_cleanerd New sentence, new line. Punctuation improvements. 2019-08-31 07:49:48 +00:00
mail.local Add EXIT STATUS section. Use Ex. 2017-07-04 06:56:50 +00:00
makekey
makewhatis make this compile. 2017-10-02 22:14:32 +00:00
rexecd Remove workaround for ancient HTML generation code. 2017-07-03 21:28:48 +00:00
rlogind if you are going to use utmpx.h, include it. 2012-11-04 21:35:45 +00:00
rpc.rquotad introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpc.rstatd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpc.rusersd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpc.rwalld introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rpc.sprayd introduce some common variables for use in GCC warning disables: 2019-10-13 07:28:04 +00:00
rshd fix to compile without USE_PAM. (unused variables) 2017-10-07 19:23:02 +00:00
talkd Remove dead assignment; from Henning Petersen in PR 50196. 2015-09-03 08:16:36 +00:00
telnetd telnetd: Stop defining the same variables concurrently in bss and data 2019-08-15 01:15:21 +00:00
tftpd Spell "occurrence" correctly. 2019-01-09 17:19:08 +00:00
utmp_update Use verrx with a va_list. 2015-04-26 08:56:19 +00:00
Makefile Import the new apropos/whatis. 2012-02-07 19:13:24 +00:00
Makefile.inc Make WARNS=5 the default here. 2012-06-19 06:10:09 +00:00