diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2020-12-14 15:26:13 +0100 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2020-12-14 15:26:13 +0100 |
commit | 7c03e2cda4a584cadc398e8f6641ca9988a39d52 (patch) | |
tree | fb00450cfbec40734c00495f1715fdf4d8b2d873 /net | |
parent | c11faf32599fee59f33896c8d59f9b3c17ca76fc (diff) | |
download | linux-7c03e2cda4a584cadc398e8f6641ca9988a39d52.tar.gz linux-7c03e2cda4a584cadc398e8f6641ca9988a39d52.tar.bz2 linux-7c03e2cda4a584cadc398e8f6641ca9988a39d52.zip |
vfs: move cap_convert_nscap() call into vfs_setxattr()
cap_convert_nscap() does permission checking as well as conversion of the
xattr value conditionally based on fs's user-ns.
This is needed by overlayfs and probably other layered fs (ecryptfs) and is
what vfs_foo() is supposed to do anyway.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Acked-by: James Morris <jamorris@linux.microsoft.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions