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

David S. Miller (davem@dm.cobaltmicro.com)
Tue, 4 Aug 1998 11:37:56 -0700


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

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.

It's for an entirely new ABI, the one for V9 processors. I am not
making sparc64-linux compliant in this regard, because I know Sun is
going to run into problems because of this decision.

Later,
David S. Miller
davem@dm.cobaltmicro.com

-
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