[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: non-exec stack
"veins" <email@example.com> writes:
> I remember reading a while ago concerning OpenWall, that having the stack
> non executable
> could prevent some softwares to run correctly.
> My question was about that, not about openbsd being broken now. Also, I was
> if the non executable stack was now an option (a sysctl, whatever) or if
> there was any way
> to disable it (if it could break some software).
> No need to be sarcastic...
No, it's not an option with a sysctl or something like that.
Software that assumes that the stack is executable is broken. Actaully,
software that assumes that any memory except the text segment is executable
is broken. If it needs executability, it can mprotect the memory regions to