From: Pavel Machek Subject: Re: RFC: disablenetwork facility. (v4) Date: Sun, 27 Dec 2009 19:06:12 +0100 Message-ID: <20091227180612.GG11737@elf.ucw.cz> References: <20091227161203.GA20031@hallyn.com> <20091227163609.GD12645@heat> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "Serge E. Hallyn" , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Alan Cox , Herbert Xu , Valdis Kletnieks , Bryan Donlan , Evgeniy Polyakov , "C. Scott Ananian" , James Morris , "Eric W. Biederman" , Bernie Innocenti , Mark Seaborn , Randy Dunlap , =?iso-8859-1?Q?Am=E9rico?= Wang , Tetsuo Handa , Samir Bellabes , Casey Schaufler To: Michael Stone Return-path: Content-Disposition: inline In-Reply-To: <20091227163609.GD12645@heat> Sender: linux-security-module-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > >I thought that disabling network was a completely > >unprivileged operation? And subsequently executing a setuid-root > >application won't reset the flag. > > Correct and correct for the current patches. Then you are introducing a security problem. User can now mess with setuid0 binary. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html