[PATCH 1/3] [ELF] Allow the machine to override stack permissions via USE_DL_EXEC_STACK_OVERRIDE.
Florian Weimer
fweimer@redhat.com
Mon Jul 8 11:50:00 GMT 2019
* Dragan Mladjenovic:
> +#ifdef USE_DL_EXEC_STACK_OVERRIDE
> + /* Program requests a non-executable stack, but architecture does
> + not support it. */
> + if (__glibc_unlikely (_dl_exec_stack_override (&stack_flags) != 0))
> + {
> + errstring = N_("cannot override stack memory protections");
> + goto call_lose_errno;
> + }
> +#endif
Is the comment really correct? I think the proposed MIPS implementation
is not architecture-specific, but specific to the kernel version.
Thanks,
Florian
More information about the Libc-alpha
mailing list