Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932097Ab0AJXG3 (ORCPT ); Sun, 10 Jan 2010 18:06:29 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755105Ab0AJXGY (ORCPT ); Sun, 10 Jan 2010 18:06:24 -0500 Received: from lists.laptop.org ([18.85.2.145]:50691 "EHLO mail.laptop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755049Ab0AJXGU (ORCPT ); Sun, 10 Jan 2010 18:06:20 -0500 Date: Sun, 10 Jan 2010 18:08:39 -0500 From: Michael Stone To: Kyle Moffett Cc: 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 , "Serge E. Hallyn" , Pavel Machek , Al Viro , Michael Stone Subject: Re: [PATCH 2/3] Security: Implement disablenetwork semantics. (v4) Message-ID: <20100110230839.GB3825@heat> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 21 Paraphrasing Kyle: > Suppose there exist PAM modules which lazily fork background processes. Now > assume that one of those PAM modules is hooked from /etc/pam.d/su, that the > module fails closed when the network is unavailable, and that Mallory wins > the race to start the daemon. Boom. I'm not disagreeing that there are configurations of programs, written for kernels without disablenetwork, which cease to be correct on kernels that provide it. However, all this says to me is that people who need to use those configurations probably shouldn't use disablenetwork. (Or that we haven't found exactly the right semantics for disablenetwork yet.) Let's keep working on it. Michael -- 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/