Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751408Ab0DUDE3 (ORCPT ); Tue, 20 Apr 2010 23:04:29 -0400 Received: from kroah.org ([198.145.64.141]:53001 "EHLO coco.kroah.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751230Ab0DUDE1 (ORCPT ); Tue, 20 Apr 2010 23:04:27 -0400 Date: Tue, 20 Apr 2010 19:54:11 -0700 From: Greg KH To: "Serge E. Hallyn" Cc: lkml , David Howells , Ashwin Ganti , rsc@swtch.com, ericvh@gmail.com, linux-security-module@vger.kernel.org, Ron Minnich , jt.beard@gmail.com, Andrew Morton , Andrew Morgan , oleg@us.ibm.com, Eric Paris , "Eric W. Biederman" Subject: Re: [PATCH 2/3] p9auth: add CAP_GRANT_ID to authorize use of /dev/caphash Message-ID: <20100421025411.GA10258@kroah.com> References: <20100421012749.GA21338@us.ibm.com> <20100421012815.GA24251@us.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100421012815.GA24251@us.ibm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 645 Lines: 18 On Tue, Apr 20, 2010 at 08:28:15PM -0500, Serge E. Hallyn wrote: > > Granting userid capabilities to another task is a dangerous > privilege. Don't just let file permissions authorize it. > Define CAP_GRANT_ID as a new capability needed to write to > /dev/caphash. Isn't there some man page that also needs to be updated when you add something like this to the user/kernel api? thanks, greg k-h -- 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/