Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751873Ab0AAObG (ORCPT ); Fri, 1 Jan 2010 09:31:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751751Ab0AAObF (ORCPT ); Fri, 1 Jan 2010 09:31:05 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:58683 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751647Ab0AAObE (ORCPT ); Fri, 1 Jan 2010 09:31:04 -0500 Date: Fri, 1 Jan 2010 15:31:01 +0100 From: Pavel Machek To: "Serge E. Hallyn" Cc: Michael Stone , 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 , Am?rico Wang , Tetsuo Handa , Samir Bellabes , Casey Schaufler Subject: Re: [PATCH 2/3] Security: Implement disablenetwork semantics. (v4) Message-ID: <20100101143100.GA3944@atrey.karlin.mff.cuni.cz> References: <20091227010441.GA12077@heat> <20091227010650.GA12190@heat> <20091230185053.GB18712@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091230185053.GB18712@us.ibm.com> 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: 834 Lines: 20 > Quoting Michael Stone (michael@laptop.org): > > Implement security_* hooks for socket_create, socket_bind, socket_connect, > > socket_sendmsg, and ptrace_access_check which return -EPERM when called from a > > process with networking restrictions. Exempt AF_UNIX sockets. > > > > Signed-off-by: Michael Stone > > Acked-by: Serge Hallyn For the record: NAK, as it introduces security holes. 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/