[PATCH] D14571: [ELF2] - Implemented PT_GNU_STACK support

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 12 00:50:02 PST 2015


grimar added a comment.

I would also suggest to think about changing the default logic from "stack is always executable by default" to opposite one. At least for some targets. 
I dont think there are many apps that uses executable stacks. But having it executable is huge security hole. 
We can implement -z execstack/-z noexecstack to control that for those who heeds executable one.


http://reviews.llvm.org/D14571





More information about the llvm-commits mailing list