diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-10-23 00:01:01 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-10-23 00:01:01 -0400 |
commit | bc0c48414eaba9e974e54aa8ef611b78037fd387 (patch) | |
tree | dc099c4dbf6f0ef64c2b16253a1656c4ea99aa56 /src | |
parent | be76cdcf81bdf60d2b7981d9f7d09593f88ef4e6 (diff) | |
download | musl-bc0c48414eaba9e974e54aa8ef611b78037fd387.tar.gz musl-bc0c48414eaba9e974e54aa8ef611b78037fd387.tar.xz musl-bc0c48414eaba9e974e54aa8ef611b78037fd387.zip |
prevent user CFLAGS overrides from exposing executable stack
the option to suppress executable stack tagging was placed in CFLAGS, which is treated as optional and overridable by the build system. if a user replaces CFLAGS after configure has run, it could get lost, resulting in a libc.so that's flagged as needing executable stack, which would cause the kernel to map the initial stack as executable. move -Wa,--noexecstack to CFLAGS_C99FSE, the make variable used for mandatory compiler options.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions