From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Stone Subject: Re: [PATCH 1/3] Security: Add prctl(PR_{GET,SET}_NETWORK) interface. (v3) Date: Thu, 24 Dec 2009 00:44:00 -0500 Message-ID: <20091224054359.GA24396@heat> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed 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 To: Samir Bellabes Return-path: Content-Disposition: inline In-Reply-To: Sender: linux-security-module-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > 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?