[PATCH] elf: Make non-executable stack disable by default

Florian Weimer fweimer@redhat.com
Thu Jun 13 05:55:04 GMT 2024


* Adhemerval Zanella:

> +* A new tunable, glibc.rtld.noexecstack, can be used to enable executable
> +  stacks from either main program, dependencies, or dynamically loadeed
> +  libraries.  The default is to disable executable stacks.

Typo: “load[e]d”

Should we refuse to enable executable stack on dlopen by default?  And
only enable it if the initial set of objects request executable stack?

Thanks,
Florian



More information about the Libc-alpha mailing list