Disable execstack while compiling a specific program
Hi Guys,
I would like to disable the Linux feature "kernel.exec-shield" for a particular program while compiling it.I have tried the following and it doesn't seem to help.(Note:I do not want to do this at the kernel level,but for that specific compiled code)
setarch i386 <program>
gcc -ggdb3 -o <output> -Wa,--noexecstack <source_code>
Can anyone tell,how to achieve this?
Kernel version:2.6.9-55
-Alphy
|