]> 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)
commitb249557fca4014055ddfec588c1a11e96def5586
treec7010c5e0a6a96904d163e7a6549ccf3e6def8ff
parentbd5c873696f92c15c46b7909cda84510d0da9fe7
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