Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit 7c03e2cd authored by Miklos Szeredi's avatar Miklos Szeredi
Browse files

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: default avatarMiklos Szeredi <mszeredi@redhat.com>
Acked-by: default avatarJames Morris <jamorris@linux.microsoft.com>
parent c11faf32
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment