freebsd-dev/libexec
Konstantin Belousov ca8c8dc3eb Fix handling of DT_TEXTREL for an object with more than one read-only
segment.  According to gABI spec, presence of the tag indicates that
dynamic linker must be prepared to handle relocations against any
read-only segment, not only the segment which we, somewhat arbitrary,
declared the text.

For each read-only segment, add write permission before relocs are
processed, and return to the mapping mode requested by the phdr, after
relocs are done.

Reported, tested, and reviewed by:	emaste
PR:	207631
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-03-02 16:36:24 +00:00
..
atf
atrun Fix the type for hw.ncpu, so sysctlbyname doesn't consistently fail on 2016-01-30 17:54:18 +00:00
bootpd META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
comsat
dma DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
fingerd
ftpd DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
getty Missing tab. 2016-02-27 02:11:00 +00:00
hyperv META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
mail.local DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
makewhatis.local Fix installation of makewhatis.local(1) since r283777. 2016-02-18 00:26:21 +00:00
mknetid
pppoed
rbootd
revnetgroup
rlogind rlogin(1): Replace select(2) with poll(2). 2016-02-26 20:02:01 +00:00
rpc.rquotad
rpc.rstatd Update dependencies after r291406 added libelf to libkvm. 2015-12-01 05:18:48 +00:00
rpc.rusersd
rpc.rwalld
rpc.sprayd
rshd
rtld-aout
rtld-elf Fix handling of DT_TEXTREL for an object with more than one read-only 2016-03-02 16:36:24 +00:00
save-entropy
smrsh DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
talkd
tcpd Use LIBEXECDIR for /usr/libexec. 2015-11-26 01:14:40 +00:00
telnetd
tests
tftp-proxy
tftpd
ulog-helper
ypxfr DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
Makefile Convert casperd(8) daemon to the libcasper. 2016-02-25 18:23:40 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc
Makefile.pc98