|author||Rich Felker <firstname.lastname@example.org>||2012-05-04 22:51:59 -0400|
|committer||Rich Felker <email@example.com>||2012-05-04 22:51:59 -0400|
make pthread stacks non-executable
this change is necessary or pthread_create will always fail on security-hardened kernels. i considered first trying to make the stack executable and simply retrying without execute permissions when the first try fails, but (1) this would incur a serious performance penalty on hardened systems, and (2) having the stack be executable is just a bad idea from a security standpoint. if there is real-world "GNU C" code that uses nested functions with threads, and it can't be fixed, we'll have to consider other ways of solving the problem, but for now this seems like the best fix.
Diffstat (limited to 'configure')
0 files changed, 0 insertions, 0 deletions