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

Alan Cox (alan@lxorguk.ukuu.org.uk)
Tue, 4 Aug 1998 22:03:02 +0100 (BST)


> 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.

To quote Linus - "Ostrich" 8) - Sun are doing the right thing.

Remind me to build all my binaries to run in Solaris64 emulation mode (I
assume your emulation wont be broken right ?).

I've run Linux boxes with the stack patch for months, I've helped design
commercial product using it. Its on some of the ISP boxes I run.

Alan

-
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