Re: non-executable stack (via PT_GNU_STACK) not being enforced
On Sun, 10 Oct 2010 13:35:10 -0400
Brchk05 <firstname.lastname@example.org> wrote:
> Thanks, Kees.
> nx is in /proc/cpuinfo as a flag, though it does not appear at all in
> my dmesg output. From what I can tell from the Ubuntu link you
> supplied, I am assuming this means that my CPU supports nx but I do
> not have the right type of kernel, i.e., one that uses PAE
> addressing, to support enforcement (or is that part Ubuntu
> specific). Does this sound plausible?
Yes, you should see "NX (Execute Disable) protection: active".
Is this a 32-bit or a 64-bit kernel? (all 64-bit kernels come with NX,
while not all 32-bit ones come with NX).