3 ms·
People ignore warnings. The build should just fail if the result would have an executable stack, unless the final linking step includes an option to explicitly
by burfog 11y ago
People ignore warnings.
The build should just fail if the result would have an executable stack, unless the final linking step includes an option to explicitly demand an executable stack.
The error message should mention how to get rid of the code that causes the stack to be executable. No mention should be made of how to continue on with an executable stack; people can read the man page if they really really want to have that.
- kazinator 11y agoAlso, dlopen should fail on an object that requires an executable stack, unless some RTLD_WHATEVER flag is passed to allow it. There should also be some finer granularity than opening execute access in every single thread's stack.
- deleted 11y ago[deleted]
- jey 11y agoWell, that's their mistake. Many of us do use -Wall -Werror though.