Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750985AbZL0SG2 (ORCPT ); Sun, 27 Dec 2009 13:06:28 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750837AbZL0SG1 (ORCPT ); Sun, 27 Dec 2009 13:06:27 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34586 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750819AbZL0SG0 (ORCPT ); Sun, 27 Dec 2009 13:06:26 -0500 Date: Sun, 27 Dec 2009 19:06:12 +0100 From: Pavel Machek To: Michael Stone 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 Subject: Re: RFC: disablenetwork facility. (v4) 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 Content-Disposition: inline In-Reply-To: <20091227163609.GD12645@heat> X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 677 Lines: 18 > >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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/