PIE breaks detection of available stack depth with getrlimit?
John Reiser
jreiser at bitwagon.com
Tue Apr 16 22:11:52 UTC 2013
> fail, at least when running a 32-bit build in mock under a 64-bit
> kernel. The cause appears to be that getrlimit(RLIMIT_STACK) reports
> an inflated value for the process's available stack space.
If you can write a short program that demonstrates the failure,
say by comparing getrlimit(RLIMIT_STACK) to the results of
an internal "cat /proc/self/maps", then that's a kernel bug.
--
More information about the devel
mailing list