aboutsummaryrefslogtreecommitdiff
path: root/security/tomoyo/policy
diff options
context:
space:
mode:
authorGravatar Christian Brauner <brauner@kernel.org> 2022-08-29 14:38:41 +0200
committerGravatar Christian Brauner (Microsoft) <brauner@kernel.org> 2022-08-31 08:49:49 +0200
commit985a6d0b3c800265a2d5312a52c549bf09254e55 (patch)
treeb7a0ee3d0e515b969736d908e26cc0b86b49aaa4 /security/tomoyo/policy
parentntfs3: rework xattr handlers and switch to POSIX ACL VFS helpers (diff)
downloadlinux-985a6d0b3c800265a2d5312a52c549bf09254e55.tar.gz
linux-985a6d0b3c800265a2d5312a52c549bf09254e55.tar.bz2
linux-985a6d0b3c800265a2d5312a52c549bf09254e55.zip
acl: return EOPNOTSUPP in posix_acl_fix_xattr_common()
Return EOPNOTSUPP when the POSIX ACL version doesn't match and zero if there are no entries. This will allow us to reuse the helper in posix_acl_from_xattr(). This change will have no user visible effects. Fixes: 0c5fd887d2bb ("acl: move idmapped mount fixup into vfs_{g,s}etxattr()") Signed-off-by: Christian Brauner (Microsoft) <brauner@kernel.org> Reviewed-by: Seth Forshee (DigitalOcean) <sforshee@kernel.org>>
Diffstat (limited to 'security/tomoyo/policy')
0 files changed, 0 insertions, 0 deletions