]> git.baikalelectronics.ru Git - kernel.git/commit
vfs: Check attribute names in posix acl xattr handers
authorAndreas Gruenbacher <agruenba@redhat.com>
Tue, 3 Nov 2015 14:25:07 +0000 (15:25 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Nov 2015 01:34:28 +0000 (20:34 -0500)
commit9222b44c1fe612576551a4dac76af188074cf305
treec7010c5e0a6a96904d163e7a6549ccf3e6def8ff
parent5a62909db6e81d10621265787a55ebbb006bbde7
vfs: Check attribute names in posix acl xattr handers

The get and set operations of the POSIX ACL xattr handlers failed to check
the attribute names, so all names with "system.posix_acl_access" or
"system.posix_acl_default" as a prefix were accepted.  Reject invalid names
from now on.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/posix_acl.c