Smack: allow to access /smack/access as normal user
authorJarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Tue, 18 Oct 2011 18:21:36 +0000 (21:21 +0300)
committerCasey Schaufler <cschaufler@cschaufler-intel.(none)>
Thu, 20 Oct 2011 23:07:31 +0000 (16:07 -0700)
commit0e94ae17c857b3835a2b8ea46ce44b5da4e2cc5d
treeeac36ba696cf33bbbe3fcd490589ef453d9c8ef1
parentd86b2b61d4dea614d6f319772a90a8f98b55ed67
Smack: allow to access /smack/access as normal user

Allow query access as a normal user removing the need
for CAP_MAC_ADMIN. Give RW access to /smack/access
for UGO. Do not import smack labels in access check.

Signed-off-by: Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com>
Signed-off-by: Casey Schaufler <cschaufler@cschaufler-intel.(none)>
security/smack/smack.h
security/smack/smack_access.c
security/smack/smackfs.c