diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2016-12-12 11:35:26 +0300 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2017-01-10 20:47:20 +0300 |
commit | 83a1e53f392075e291a90746241dce45c6f9429a (patch) | |
tree | 40cb07887ad83b39bb253199e448de0946d760fd /lib/glob.c | |
parent | 805b65a80bed029572c6462cc4be0a260e1482e9 (diff) | |
download | linux-83a1e53f392075e291a90746241dce45c6f9429a.tar.xz |
Smack: ignore private inode for file functions
The access to fd from anon_inode is always failed because there is
no set xattr operations. So this patch fixes to ignore private
inode including anon_inode for file functions.
It was only ignored for smack_file_receive() to share dma-buf fd,
but dma-buf has other functions like ioctl and mmap.
Reference: https://lkml.org/lkml/2015/4/17/16
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'lib/glob.c')
0 files changed, 0 insertions, 0 deletions