Re: execlineb ELF executable stack on Linux

From: Laurent Bercot <>
Date: Thu, 08 Apr 2021 12:25:02 +0000

  Okay, so the problem is that setting the noexecstack attribute at the
asm level (-Wa,--noexecstack in CFLAGS) is useless: even without it,
.note.GNU-stack is never marked as executable unless you have nested
  What works is setting the attribute at the link level
(-Wl,-z,noexecstack in LDFLAGS), and if it's not done, apparently
GNU toolchains still mark the stack as executable by default in the

  I will change the configure scripts to specify noexecstack at the
LDFLAGS level. Thanks for bringing this to my attention :)

Received on Thu Apr 08 2021 - 12:25:02 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC