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
comsat
fingerd
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
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
makekey
makewhatis
rexecd
rlogind
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
talkd
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
Makefile
Makefile.inc