diff options
author | Amir Goldstein <amir73il@gmail.com> | 2020-09-29 15:28:48 +0800 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-10-06 15:38:15 +0200 |
commit | be4df0cea08a8b59eb38d73de988b7ba8022df41 (patch) | |
tree | 46ca211e654e6bb65b9a8bf7f99c9126fd8ba4f9 /tools/lib/bpf/netlink.c | |
parent | 61536bed2149b082748f8a38c593d915ff3e5957 (diff) | |
download | linux-be4df0cea08a8b59eb38d73de988b7ba8022df41.tar.bz2 |
ovl: use generic vfs_ioc_setflags_prepare() helper
Canonalize to ioctl FS_* flags instead of inode S_* flags.
Note that we do not call the helper vfs_ioc_fssetxattr_check()
for FS_IOC_FSSETXATTR ioctl. The reason is that underlying filesystem
will perform all the checks. We only need to perform the capability
check before overriding credentials.
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Xiao Yang <yangx.jy@cn.fujitsu.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Diffstat (limited to 'tools/lib/bpf/netlink.c')
0 files changed, 0 insertions, 0 deletions