linux/security/smack
Dmitry Kasatkin fffea214ab smack: fix key permission verification
For any keyring access type SMACK always used MAY_READWRITE access check.
It prevents reading the key with label "_", which should be allowed for anyone.

This patch changes default access check to MAY_READ and use MAY_READWRITE in only
appropriate cases.

Signed-off-by: Dmitry Kasatkin <d.kasatkin@samsung.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Casey Schaufler <casey@schaufler-ca.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 smack: fix key permission verification 2014-03-14 17:44:49 +00:00
smackfs.c Smack: change rule cap check 2013-12-23 15:57:43 -08:00