kernel-fxtec-pro1x/security/smack
David Howells f5895943d9 KEYS: Move the flags representing required permission to linux/key.h
Move the flags representing required permission to linux/key.h as the perm
parameter of security_key_permission() is in terms of them - and not the
permissions mask flags used in key->perm.

Whilst we're at it:

 (1) Rename them to be KEY_NEED_xxx rather than KEY_xxx to avoid collisions
     with symbols in uapi/linux/input.h.

 (2) Don't use key_perm_t for a mask of required permissions, but rather limit
     it to the permissions mask attached to the key and arguments related
     directly to that.

Signed-off-by: David Howells <dhowells@redhat.com>
Tested-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
2014-03-14 17:44:49 +00:00
..
Kconfig Smack: use select not depends in Kconfig 2012-12-14 10:57:10 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h Smack: Make the syslog control configurable 2013-12-23 15:50:55 -08:00
smack_access.c Smack: Implement lock security mode 2013-10-18 09:39:33 -07:00
smack_lsm.c KEYS: Move the flags representing required permission to linux/key.h 2014-03-14 17:44:49 +00:00
smackfs.c Smack: change rule cap check 2013-12-23 15:57:43 -08:00