Re: executable stacks, a few suggetions

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Apr 1997 20:27:41 +0100 (BST)


> So, if such an enable/disable bit is implemented (currently there're only
> lines that you could put in a program's source code for that purpose), it
> seems to be more reasonable to put it into the POSIX.6 privilege bitmask
> (BTW, is anyone still working on that stuff?), or something like that,
> instead of just using suid bit.

Invent an ELF flag or segment type for it. Then you can run

setcode -w elf-program

for awkward stuff