Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765070AbZLQR2m (ORCPT ); Thu, 17 Dec 2009 12:28:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765018AbZLQR2i (ORCPT ); Thu, 17 Dec 2009 12:28:38 -0500 Received: from acsinet12.oracle.com ([141.146.126.234]:53641 "EHLO acsinet12.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765016AbZLQR2f (ORCPT ); Thu, 17 Dec 2009 12:28:35 -0500 Date: Thu, 17 Dec 2009 09:25:20 -0800 From: Randy Dunlap To: Michael Stone Cc: Ulrich Drepper , 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" Subject: Re: [PATCH] Security: Add prctl(PR_{GET,SET}_NETWORK) interface. Message-Id: <20091217092520.1f65d2dd.randy.dunlap@oracle.com> In-Reply-To: <20091217092326.484bb318.randy.dunlap@oracle.com> References: <1260977452-2334-1-git-send-email-michael@laptop.org> <1260977565-2379-1-git-send-email-michael@laptop.org> <20091217092326.484bb318.randy.dunlap@oracle.com> Organization: Oracle Linux Eng. X-Mailer: Sylpheed 2.7.1 (GTK+ 2.12.0; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Source-IP: acsmt357.oracle.com [141.146.40.157] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090208.4B2A69A8.0051:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1504 Lines: 45 On Thu, 17 Dec 2009 09:23:26 -0800 Randy Dunlap wrote: > On Wed, 16 Dec 2009 10:32:43 -0500 Michael Stone wrote: > > > > --- > > include/linux/prctl.h | 7 +++++++ > > include/linux/prctl_network.h | 7 +++++++ > > include/linux/sched.h | 2 ++ > > kernel/Makefile | 2 +- > > kernel/prctl_network.c | 37 +++++++++++++++++++++++++++++++++++++ > > kernel/sys.c | 7 +++++++ > > 6 files changed, 61 insertions(+), 1 deletions(-) > > create mode 100644 include/linux/prctl_network.h > > create mode 100644 kernel/prctl_network.c > > > > > diff --git a/kernel/prctl_network.c b/kernel/prctl_network.c > > new file mode 100644 > > index 0000000..d173716 > > --- /dev/null > > +++ b/kernel/prctl_network.c > > @@ -0,0 +1,37 @@ > > +/* > > + * linux/kernel/prctl_network.c > > + * > > + * Copyright 2009 Michael Stone > > + * > > + * Turn off a process's ability to access new networks. > > + * See Documentation/prctl_network.txt for details. > > + */ > > Where is Documentation/prctl_network.txt ? > and it should probably be Documentation/prctl/network.txt . gag, I see it. Sorry about that. I think that the file name still needs to be changed. --- ~Randy -- 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/