freebsd-dev/libexec
Konstantin Belousov 212f264cd6 In rtld, read the initial stack access mode from AT_STACKPROT as set
by kernel, and parse PT_GNU_STACK phdr from linked and loaded dsos.

If the loaded dso requires executable stack, as specified by PF_X bit
of p_flags of PT_GNU_STACK phdr, but current stack protection does not
permit execution, the __pthread_map_stacks_exec symbol is looked up
and called. It should be implemented in libc or threading library and
change the protection mode of all thread stacks to be executable.

Provide a private interface _rtld_get_stack_prot() to export the stack
access mode as calculated by rtld.

Reviewed by:	   kan
2011-01-08 17:11:49 +00:00
..
atrun
bootpd Catch up with kernel using time_uptime to drive ARP timeouts. 2010-12-06 09:39:36 +00:00
comsat
fingerd
ftpd Make format string a string literal. (Discovered by clang.) 2011-01-04 00:39:56 +00:00
getty Add __unused. Ansi prototypes. 2010-12-20 08:29:54 +00:00
lukemftpd
mail.local
mknetid Fix double ;; 2010-12-06 10:24:06 +00:00
pppoed
rbootd Add __unused 2010-12-20 08:37:26 +00:00
revnetgroup
rlogind Add __unused 2010-12-20 08:44:08 +00:00
rpc.rquotad
rpc.rstatd
rpc.rusersd
rpc.rwalld add __unused 2010-12-19 13:05:17 +00:00
rpc.sprayd
rshd
rtld-aout
rtld-elf In rtld, read the initial stack access mode from AT_STACKPROT as set 2011-01-08 17:11:49 +00:00
save-entropy
smrsh
talkd Remove unneeded use of struct timezone. 2010-08-08 02:45:48 +00:00
tcpd
telnetd
tftp-proxy
tftpd Fix typos. 2010-11-09 10:59:09 +00:00
ulog-helper
ypxfr Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
Makefile
Makefile.inc