Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765079AbZLQR01 (ORCPT ); Thu, 17 Dec 2009 12:26:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1765051AbZLQR0Q (ORCPT ); Thu, 17 Dec 2009 12:26:16 -0500 Received: from acsinet11.oracle.com ([141.146.126.233]:22493 "EHLO acsinet11.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1765039AbZLQR0I (ORCPT ); Thu, 17 Dec 2009 12:26:08 -0500 Date: Thu, 17 Dec 2009 09:23:26 -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: <20091217092326.484bb318.randy.dunlap@oracle.com> In-Reply-To: <1260977565-2379-1-git-send-email-michael@laptop.org> References: <1260977452-2334-1-git-send-email-michael@laptop.org> <1260977565-2379-1-git-send-email-michael@laptop.org> 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: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090205.4B2A6909.017D:SCFMA4539814,ss=1,fgs=0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1303 Lines: 41 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 . thanks, --- ~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/