Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932096AbVJGJD4 (ORCPT ); Fri, 7 Oct 2005 05:03:56 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932123AbVJGJD4 (ORCPT ); Fri, 7 Oct 2005 05:03:56 -0400 Received: from mx1.redhat.com ([66.187.233.31]:6580 "EHLO mx1.redhat.com") by vger.kernel.org with ESMTP id S932096AbVJGJDz (ORCPT ); Fri, 7 Oct 2005 05:03:55 -0400 From: David Howells In-Reply-To: References: <29942.1128529714@warthog.cambridge.redhat.com> <23641.1128596760@warthog.cambridge.redhat.com> <30054.1128611494@warthog.cambridge.redhat.com> To: James Morris Cc: David Howells , Linus Torvalds , Andrew Morton , keyrings@linux-nfs.org, linux-kernel@vger.kernel.org, Stephen Smalley Subject: Re: [Keyrings] [PATCH] Keys: Add LSM hooks for key management X-Mailer: MH-E 7.84; nmh 1.1; GNU Emacs 22.0.50.1 Date: Fri, 07 Oct 2005 10:03:36 +0100 Message-ID: <21699.1128675816@warthog.cambridge.redhat.com> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 644 Lines: 20 James Morris wrote: > > > > Should I expand the permissions mask to include a setattr? > > > > > > Possibly for setperm and chown. > > > > For setperm? > > It changes an attribute of a key, for which you have DAC checks, therefore > you could assume that we'd also want MAC checks. Does it matter that you can take away your own permission to change the permissions? David - 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/