glibc/elf
Siddhesh Poyarekar 9c6ea9facb Fix stack size and address inconsistency due to executable stack
When a stack is marked executable due to loading a DSO that requires
an executable stack, the logic tends to leave out a portion of stack
after the first frame, thus causing a difference in the value returned
by pthread_getattr_np before and after the stack is marked
executable. It ought to be possible to fix this by marking the rest of
the stack as executable too, but in the interest of marking as less of
the stack as executable as possible, the path this fix takes is to
make pthread_getattr_np also look at the first frame as the underflow
end of the stack and compute size and stack top accordingly.

The above happens only for the main process stack. NPTL thread stacks
are not affected by this change.
2012-05-26 09:48:26 +05:30
..
cache.c Add x32 support to ldconfig 2012-03-16 15:20:45 -07:00
chroot_canon.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
circleload1.c
circlemod1.c
circlemod1a.c
circlemod2.c
circlemod2a.c
circlemod3.c
circlemod3a.c
constload1.c
constload2.c
constload3.c
dblload.c
dblloadmod1.c
dblloadmod2.c
dblloadmod3.c
dblunload.c
dep1.c
dep2.c
dep3.c
dep4.c
dl-addr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-brk.c
dl-cache.c Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
dl-caller.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-close.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-conflict.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-debug.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-deps.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-dst.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-environ.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-error.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-execstack.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-fini.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-fptr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-init.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-iteratephdr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-libc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-load.c New ld.so argument --inhibit-ldcache to disable ld.so.cache lookup 2012-04-11 00:13:52 +05:30
dl-lookup.c Fix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly. 2012-04-05 05:20:37 -04:00
dl-minimal.c Parse hexadecimal and octal strings correctly 2012-04-25 12:27:03 +05:30
dl-misc.c Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
dl-object.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-open.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-origin.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-profile.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-profstub.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-reloc.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-runtime.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-sbrk.c
dl-scope.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-support.c Add <sys/auxv.h> and getauxval. 2012-05-20 10:40:35 -07:00
dl-sym.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-symaddr.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-sysdep.c Add <sys/auxv.h> and getauxval. 2012-05-20 10:40:35 -07:00
dl-tls.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-trampoline.c
dl-tsd.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dl-version.c Move stdio-common/_itoa.h to sysdeps/generic 2012-03-20 16:00:23 -07:00
do-rel.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
dynamic-link.h Fix ld.so regression. 2012-04-10 17:47:59 -07:00
elf.h Handle R_X86_64_RELATIVE64 and R_X86_64_64 for x32 2012-05-10 17:05:06 -07:00
enbl-secure.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
failobj.c
filter.c
filtmod1.c
filtmod2.c
firstobj.c
gen-trusted-dirs.awk
genrtldtbl.awk
global.c
globalmod1.c
ifuncdep1.c
ifuncdep1pic.c
ifuncdep2.c
ifuncdep2pic.c
ifuncdep5.c
ifuncdep5pic.c
ifuncmain1.c
ifuncmain1pic.c
ifuncmain1picstatic.c
ifuncmain1pie.c
ifuncmain1static.c
ifuncmain1staticpic.c
ifuncmain1staticpie.c
ifuncmain1vis.c
ifuncmain1vispic.c
ifuncmain1vispie.c
ifuncmain2.c
ifuncmain2pic.c
ifuncmain2picstatic.c
ifuncmain2static.c
ifuncmain3.c
ifuncmain4.c
ifuncmain4picstatic.c
ifuncmain4static.c
ifuncmain5.c
ifuncmain5pic.c
ifuncmain5picstatic.c
ifuncmain5pie.c
ifuncmain5static.c
ifuncmain5staticpic.c
ifuncmain6pie.c
ifuncmain7.c
ifuncmain7pic.c
ifuncmain7picstatic.c
ifuncmain7pie.c
ifuncmain7static.c
ifuncmod1.c
ifuncmod3.c
ifuncmod5.c
ifuncmod6.c
initfirst.c
interp.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
lateglobal.c
ldconfig.c Make ldconfig message clearer 2012-05-09 06:08:28 +02:00
ldd.bash.in Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
link.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
loadfail.c
loadtest.c
ltglobmod1.c
ltglobmod2.c
Makefile Add --enable-systemtap configuration to define static probe points. 2012-05-25 13:40:20 -07:00
multiload.c
neededobj1.c
neededobj2.c
neededobj3.c
neededobj4.c
neededobj5.c
neededobj6.c
neededtest2.c
neededtest3.c
neededtest4.c Remove pre-ISO C support 2012-01-07 23:57:22 -05:00
neededtest.c
next.c
nextmod1.c
nextmod2.c
nodel2mod1.c
nodel2mod2.c
nodel2mod3.c
nodelete2.c
nodelete.c
nodelmod1.c
nodelmod2.c
nodelmod3.c
nodelmod4.c
nodlopen2.c
nodlopen.c
nodlopenmod2.c
nodlopenmod.c
noload.c
order2.c
order2mod1.c
order2mod2.c
order2mod3.c
order2mod4.c
order.c
origtest.c
pathoptobj.c
pldd-xx.c Prevent warning in pldd. 2012-04-16 20:34:28 +02:00
pldd.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
preloadtest.c
readelflib.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
readlib.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
reldep2.c
reldep3.c
reldep4.c
reldep4mod1.c
reldep4mod2.c
reldep4mod3.c
reldep4mod4.c
reldep5.c
reldep6.c
reldep6mod0.c
reldep6mod1.c
reldep6mod2.c
reldep6mod3.c
reldep6mod4.c
reldep7.c
reldep7mod1.c
reldep7mod2.c
reldep8.c
reldep8mod1.c
reldep8mod2.c
reldep8mod3.c
reldep9.c
reldep9mod1.c
reldep9mod2.c
reldep9mod3.c
reldep.c
reldepmod1.c
reldepmod2.c
reldepmod3.c
reldepmod4.c
reldepmod5.c
reldepmod6.c
resolvfail.c
restest1.c
restest2.c
rtld-Rules Add --enable-systemtap configuration to define static probe points. 2012-05-25 13:40:20 -07:00
rtld.c Use _dl_fatal_printf instead of a private variant. 2012-05-14 16:10:12 -07:00
sln.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sofini.c
soinit.c
sotruss-lib.c Fix bugs in sparc PLT profiling register management, and add sparc sotruss support. 2012-03-09 20:48:06 -08:00
sotruss.ksh Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
sprof.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
testobj1_1.c
testobj1.c
testobj2.c
testobj3.c
testobj4.c
testobj5.c
testobj6.c
testobj.h
tls-macros.h Add x32 support to TLS_LE/TLS_IE/TLS_GD 2012-05-11 14:35:56 -07:00
tlsdeschtab.h Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-addr1.c
tst-align2.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-align.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-alignmod2.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-alignmod.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-array1-static.c
tst-array1.c
tst-array1.exp
tst-array2.c
tst-array2.exp
tst-array2dep.c
tst-array3.c
tst-array4.c
tst-array4.exp
tst-array5-static.c
tst-array5-static.exp
tst-array5.c
tst-array5.exp
tst-array5dep.c
tst-audit1.c
tst-audit2.c
tst-audit3.c
tst-audit4.c
tst-audit5.c
tst-audit6.c
tst-audit7.c
tst-auditmod1.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-auditmod3a.c
tst-auditmod3b.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-auditmod4a.c
tst-auditmod4b.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-auditmod5a.c
tst-auditmod5b.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-auditmod6a.c
tst-auditmod6b.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-auditmod6c.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-auditmod7a.c
tst-auditmod7b.c Check __ILP32__ instead of __LP64__ 2012-04-13 16:24:17 -07:00
tst-deep1.c
tst-deep1mod1.c
tst-deep1mod2.c
tst-deep1mod3.c
tst-dlmodcount.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-dlmopen1.c
tst-dlmopen1mod.c
tst-dlmopen2.c
tst-dlmopen3.c
tst-dlopenrpath.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-dlopenrpathmod.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-execstack-mod.c
tst-execstack-needed.c
tst-execstack-prog.c
tst-execstack.c Fix stack size and address inconsistency due to executable stack 2012-05-26 09:48:26 +05:30
tst-global1.c
tst-initorder2.c
tst-initorder2.exp
tst-initorder.c
tst-initorder.exp
tst-initordera1.c
tst-initordera2.c
tst-initordera3.c
tst-initordera4.c
tst-initorderb1.c
tst-initorderb2.c
tst-leaks1.c
tst-order-a1.c
tst-order-a2.c
tst-order-a3.c
tst-order-a4.c
tst-order-b1.c
tst-order-b2.c
tst-order-main.c
tst-pathopt.c
tst-pathopt.sh Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-pie1.c
tst-piemod1.c
tst-relsort1.c Fix warning 2012-05-17 22:00:57 +02:00
tst-relsort1mod1.c Sort objects before relocations 2012-01-27 15:05:19 -05:00
tst-relsort1mod2.c Sort objects before relocations 2012-01-27 15:05:19 -05:00
tst-stackguard1-static.c
tst-stackguard1.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
tst-thrlock.c
tst-tls1-static.c
tst-tls1.c
tst-tls2-static.c
tst-tls2.c
tst-tls3.c
tst-tls4.c
tst-tls5.c
tst-tls6.c
tst-tls7.c
tst-tls8.c
tst-tls9-static.c
tst-tls9.c
tst-tls10.c
tst-tls10.h
tst-tls11.c
tst-tls12.c
tst-tls13.c
tst-tls14.c
tst-tls15.c
tst-tls16.c
tst-tls17.c
tst-tls18.c
tst-tls19.c
tst-tls19mod1.c
tst-tls19mod2.c
tst-tls19mod3.c
tst-tls-dlinfo.c
tst-tlsmod1.c
tst-tlsmod2.c
tst-tlsmod3.c
tst-tlsmod4.c
tst-tlsmod5.c
tst-tlsmod6.c
tst-tlsmod7.c
tst-tlsmod8.c
tst-tlsmod9.c
tst-tlsmod10.c
tst-tlsmod11.c
tst-tlsmod12.c
tst-tlsmod13.c
tst-tlsmod13a.c
tst-tlsmod14a.c
tst-tlsmod14b.c
tst-tlsmod15a.c
tst-tlsmod15b.c
tst-tlsmod16a.c
tst-tlsmod16b.c
tst-tlsmod17a.c
tst-tlsmod17b.c
tst-tlsmod18a.c
tst-unique1.c
tst-unique1mod1.c
tst-unique1mod2.c
tst-unique2.c
tst-unique2mod1.c
tst-unique2mod2.c
tst-unique3.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique3.h
tst-unique3lib2.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique3lib.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique4.cc Remove gets declarations in C++ tests. 2012-01-25 16:50:17 +00:00
tst-unique4.h
tst-unique4lib.cc
unload2.c
unload2dep.c
unload2mod.c
unload3.c
unload3mod1.c
unload3mod2.c
unload3mod3.c
unload3mod4.c
unload4.c
unload4mod1.c
unload4mod2.c
unload4mod3.c
unload4mod4.c
unload5.c
unload6.c
unload6mod1.c
unload6mod2.c
unload6mod3.c
unload7.c
unload7mod1.c
unload7mod2.c
unload8.c
unload8mod1.c
unload8mod1x.c
unload8mod2.c
unload8mod3.c
unload.c
unloadmod.c
Versions
vismain.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
vismod1.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
vismod2.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
vismod3.c Replace FSF snail mail address with URLs. 2012-02-09 23:18:22 +00:00
vismod.h