Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752980AbZLXFl6 (ORCPT ); Thu, 24 Dec 2009 00:41:58 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751542AbZLXFl5 (ORCPT ); Thu, 24 Dec 2009 00:41:57 -0500 Received: from lists.laptop.org ([18.85.2.145]:40104 "EHLO mail.laptop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751282AbZLXFl4 (ORCPT ); Thu, 24 Dec 2009 00:41:56 -0500 Date: Thu, 24 Dec 2009 00:44:00 -0500 From: Michael Stone To: Samir Bellabes 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 , =?iso-8859-1?Q?Am=E9rico?= Wang Subject: Re: [PATCH 1/3] Security: Add prctl(PR_{GET,SET}_NETWORK) interface. (v3) Message-ID: <20091224054359.GA24396@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: 956 Lines: 22 > I think this is unnecessary, as LSM module, you should use the > void* security member of the structure cred. The change you propose is easily made but I'm having trouble seeing how making it would help my purpose: the field you name is already in use by other parts of the kernel which my functionality is intended to complement. That being said, I'd be very happy to prepare a version of the patch using the strategy you suggest if it would be directly useful to you or if you can show me how it would contribute to my goals. Regards, and thanks for your comment, Michael P.S. - Perhaps a reasonable alternative would be to the definition of the field conditional on CONFIGURE_SECURITY_PRCTL_NETWORK? -- 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/