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)
commitc361016adeb5acb17a67000689602b7515930f13
treec7010c5e0a6a96904d163e7a6549ccf3e6def8ff
parent7c7afc440c8ec311ae135df892cc489436a1ff00
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