Re: [PATCH] [SECURITY] suid procs exec'd with bad 0,1,2 fds

Dean Gaudet (dgaudet-list-linux-kernel@arctic.org)
Tue, 4 Aug 1998 11:33:49 -0700 (PDT)


On Tue, 4 Aug 1998, Linus Torvalds wrote:

> They DO break things. There are languages that by design use the stack for
> trampolines etc, and at least if somebody applies the unofficial patch
> they have themselves to blame.

Sun didn't find this to be a problem when they updated their ABI to
include a non-executable stack (see bugtraq archives, it's part of 2.7 I'm
pretty sure). mprotect(PROT_EXEC) solves this problem wonderfully.

Dean

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html