-
由 Himanshu Shukla 提交于
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: NHimanshu Shukla <himanshu.sh@samsung.com> Acked-by: NCasey Schaufler <casey@schaufler-ca.com>
7128ea15