Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756654Ab0ANJW4 (ORCPT ); Thu, 14 Jan 2010 04:22:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932167Ab0ANJWy (ORCPT ); Thu, 14 Jan 2010 04:22:54 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:54808 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756590Ab0ANJWw (ORCPT ); Thu, 14 Jan 2010 04:22:52 -0500 Date: Thu, 14 Jan 2010 10:22:51 +0100 From: Pavel Machek To: Valdis.Kletnieks@vt.edu Cc: Michael Stone , James Morris , 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 , Bryan Donlan , Evgeniy Polyakov , "C. Scott Ananian" , "Eric W. Biederman" , Bernie Innocenti , Mark Seaborn , Randy Dunlap , Am?rico Wang , Tetsuo Handa , Samir Bellabes , Casey Schaufler , "Serge E. Hallyn" , Al Viro Subject: Re: [PATCH 2/3] Security: Implement disablenetwork semantics. (v4) Message-ID: <20100114092250.GA11500@atrey.karlin.mff.cuni.cz> References: <20100110215409.GA3705@heat> <20100110215848.GA26609@elf.ucw.cz> <5768.1263264853@localhost> <20100112075927.GA24256@atrey.karlin.mff.cuni.cz> <32558.1263306523@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32558.1263306523@localhost> User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 952 Lines: 23 > On Tue, 12 Jan 2010 08:59:27 +0100, Pavel Machek said: > > > Well, maybe, but mailer system where first user starts is as a daemon > > makes sense... > > Does it? How do you get port 25 open for listening if the first user isn't > root? Most *actual* schemes to "launch at first use" that require privs for > something have used inetd or similar - that program exists for a > *reason*. Remember sendmail is setuid root... so it already has the permissions. Except that proposed disablenetwork would take network connectivity even from setuid apps. Pavel -- (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/