]> git.baikalelectronics.ru Git - kernel.git/commit
Smack: Prevent the * and @ labels from being used in SMACK64EXEC
authorCasey Schaufler <casey@schaufler-ca.com>
Tue, 17 Dec 2013 00:27:26 +0000 (16:27 -0800)
committerCasey Schaufler <casey@schaufler-ca.com>
Thu, 19 Dec 2013 21:05:24 +0000 (13:05 -0800)
commitfa76fd0de3c4ccb87bd34f71bfcd7d51bb46acd5
tree66f40219fd1a35b7d6bee6eab7aee0fa8405a287
parent74551baf21aee2a2d935db221fc5c5b67379ddef
Smack: Prevent the * and @ labels from being used in SMACK64EXEC

Smack prohibits processes from using the star ("*") and web ("@") labels
because we don't want files with those labels getting created implicitly.
All setting of those labels should be done explicitly. The trouble is that
there is no check for these labels in the processing of SMACK64EXEC. That
is repaired.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
security/smack/smack_lsm.c