Re: How to make stack executable on demand?

From: Pavel Machek
Date: Thu Apr 22 2004 - 14:52:14 EST


Hi!

> >is set with executable stack. Is there a third option that a process
> >starts with non-executable stack and can change the stack permission
> >later?
> >
>
> Well, in my opinion your request is equivalent to "keep all these
> cute buffer overflows forever". Take any protected app, LD_PRELOAD or
> drop in a bad/malicious library and your're done for good. Not really
> a good idea.

With malicious libraries, you have *way* bigger problems than
buffer overruns.
Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/