From: Pankaj Kumar Date: Fri, 13 Dec 2013 09:42:22 +0000 (+0530) Subject: bugfix patch for SMACK X-Git-Tag: omap-for-v3.16/fixes-against-rc1~70^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e9ab593c2da3064136ffa1d7f712d0e957e1958;p=pandora-kernel.git 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 Signed-off-by: Himanshu Shukla --- Reading git-diff-tree failed