From mboxrd@z Thu Jan 1 00:00:00 1970 From: ebiederm@xmission.com (Eric W. Biederman) Subject: Re: [RFC][PATCH v3] Unprivileged: Disable raising of privileges Date: Wed, 30 Dec 2009 13:36:57 -0800 Message-ID: References: <20091229223631.GB22578@us.ibm.com> <3e8340490912291954v5a837a26p64bd776102d281d7@mail.gmail.com> <3e8340490912292057g3e87eaabn115f85b78af2b08c@mail.gmail.com> <551280e50912300652r1007dee0j8de750bf33af9b3c@mail.gmail.com> <20091230183513.GC14493@us.ibm.com> <20091230201712.GA23999@us.ibm.com> <20091230212931.233003b9@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Serge E. Hallyn" , "Andrew G. Morgan" , Bryan Donlan , Benny Amorsen , Michael Stone , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Herbert Xu , Valdis Kletnieks , Evgeniy Polyakov , "C. Scott Ananian" , James Morris , Bernie Innocenti , Mark Seaborn , Randy Dunlap , =?utf-8?Q?Am=C3=A9rico?= Wang , Tetsuo Handa , Samir Bellabes , Casey Schaufler Return-path: In-Reply-To: <20091230212931.233003b9@lxorguk.ukuu.org.uk> (Alan Cox's message of "Wed\, 30 Dec 2009 21\:29\:31 +0000") Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Alan Cox writes: >> Added bprm->nosuid to make remove the need to add >> duplicate error prone checks. This ensures that >> the disabling of suid executables is exactly the >> same as MNT_NOSUID. > > Another fine example of why we have security hooks so that we don't get a > kernel full of other "random security idea of the day" hacks. Well it comes from plan 9. Except there they just simply did not implement suid. What causes you to think dropping the ability to execute suid executables is a random security idea of the day? Eric