diff options
author | Pankaj Kumar <pankaj.k2@samsung.com> | 2013-12-13 15:12:22 +0530 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2014-04-11 14:34:52 -0700 |
commit | 5e9ab593c2da3064136ffa1d7f712d0e957e1958 (patch) | |
tree | 118dec536c673d54ddeb44e7f917e53dd9590b9c /scripts | |
parent | 668678185247303450e60df14569f94cf5775fea (diff) | |
download | lwn-5e9ab593c2da3064136ffa1d7f712d0e957e1958.tar.gz lwn-5e9ab593c2da3064136ffa1d7f712d0e957e1958.zip |
bugfix patch for SMACK
1. In order to remove any SMACK extended attribute from a file, a user
should have CAP_MAC_ADMIN capability. But user without having this
capability is able to remove SMACK64MMAP security attribute.
2. While validating size and value of smack extended attribute in
smack_inode_setsecurity hook, wrong error code is returned.
Signed-off-by: Pankaj Kumar <pamkaj.k2@samsung.com>
Signed-off-by: Himanshu Shukla <himanshu.sh@samsung.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions