Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755133AbZLRRUh (ORCPT ); Fri, 18 Dec 2009 12:20:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752479AbZLRRUg (ORCPT ); Fri, 18 Dec 2009 12:20:36 -0500 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:37861 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751873AbZLRRUf (ORCPT ); Fri, 18 Dec 2009 12:20:35 -0500 Date: Fri, 18 Dec 2009 17:20:54 +0000 From: Alan Cox To: Michael Stone Cc: Michael Stone , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-security-module@vger.kernel.org, Andi Kleen , David Lang , Oliver Hartkopp , Herbert Xu , Valdis Kletnieks , Bryan Donlan , Evgeniy Polyakov , "C. Scott Ananian" , James Morris , "Eric W. Biederman" , Bernie Innocenti , Mark Seaborn , Randy Dunlap , =?ISO-8859-14?B?QW3pcmljbw==?= Wang Subject: Re: [PATCH 1/3] Security: Add prctl(PR_{GET,SET}_NETWORK) Message-ID: <20091218172054.556de51b@lxorguk.ukuu.org.uk> In-Reply-To: <20091218163348.GA24269@heat> References: <20091218154634.79decdc4@lxorguk.ukuu.org.uk> <20091218163348.GA24269@heat> X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 773 Lines: 15 > the LSM-based version *does not* resolve the situation to my satisfaction as a > userland hacker due to the well-known and long-standing adoption and > compositionality problems facing small LSMs. ;) For things like Fedora it's probably an "interesting idea, perhaps we should do it using SELinux" sort of problem, but a config option for a magic network prctl is also going to be hard to adopt without producing a good use case - and avoiding that by dumping crap into everyones kernel fast paths isn't a good idea either. -- 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/