Linus Torvalds writes: (Summary) wrote:
Well, if you control the binary to the point where you just make the ELF section map on top of the stack, what's the problem? You could just have written the code to do mmap() instead.
code to do mmap() instead.
So I think this is a "crazy users can do crazy things, we're not arbiters of taste" thing.
arbiters of taste" thing.
Linus
Linus
Linus
[...]
AFAIU.Well, if you control the binary to the point where you just make the ELF section map on top of the stack, what's the problem? You could just have written the code to do mmap() instead.
code to do mmap() instead.
So I think this is a "crazy users can do crazy things, we're not arbiters of taste" thing.
arbiters of taste" thing.
Linus
Linus
Linus