Smack: ignore private inode for smack_file_receive
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 17 Apr 2015 06:25:04 +0000 (15:25 +0900)
committerCasey Schaufler <casey@schaufler-ca.com>
Fri, 15 May 2015 15:35:50 +0000 (08:35 -0700)
commit9777582e8d604f69ce3a93805065e451487e26b4
tree0f51c71806352e7ee311b16dfcc2485ff1166938
parent1ddd3b4e07a4be9fe3f1ce2441b01859154f4358
Smack: ignore private inode for smack_file_receive

The dmabuf fd can be shared between processes via unix domain
socket. The file of dmabuf fd is came from anon_inode. The inode
has no set and get xattr operations, so it can not be shared
between processes with smack. This patch fixes just to ignore
private inode including anon_inode for smack_file_receive.

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
security/smack/smack_lsm.c