[PATCH] Keys: Possessor permissions should be additive
authorDavid Howells <dhowells@redhat.com>
Fri, 7 Oct 2005 15:41:24 +0000 (16:41 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 8 Oct 2005 21:54:48 +0000 (14:54 -0700)
commit7ab501db8cb6659efdf04034e0de6b44c059a51b
treecdcf34873ab91219e17b265610a83bea213ec3c4
parent468ed2b0c85ec4310b429e60358213b6d077289e
[PATCH] Keys: Possessor permissions should be additive

This patch makes the possessor permissions on a key additive with
user/group/other permissions on the same key.

This permits extra rights to be granted to the possessor of a key without
taking away any rights conferred by them owning the key or having common group
membership.

Signed-Off-By: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/keys/permission.c