diff options
| author | Himanshu Shukla <[email protected]> | 2016-11-10 16:17:49 +0530 |
|---|---|---|
| committer | Casey Schaufler <[email protected]> | 2016-11-10 11:21:52 -0800 |
| commit | 7128ea159d60a91b3f0a7d10a1ea7d62b53cda93 (patch) | |
| tree | 619eac3e523d6f16292dea2704cc9aa217a5b4d9 /scripts/objdiff | |
| parent | 2097f59920ea81516d7783396683cad22c26d140 (diff) | |
SMACK: Do not apply star label in smack_setprocattr hook
Smack prohibits processes from using the star ("*") and web ("@") labels.
Checks have been added in other functions. In smack_setprocattr()
hook, only check for web ("@") label has been added and restricted
from applying web ("@") label.
Check for star ("*") label should also be added in smack_setprocattr()
hook. Return error should be "-EINVAL" not "-EPERM" as permission
is there for setting label but not the label value as star ("*") or
web ("@").
Signed-off-by: Himanshu Shukla <[email protected]>
Acked-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions