Whamcloud - gitweb
LU-4704 acl: fix permission problem of setfacl 73/9473/2
authorLi Xi <lixi@ddn.com>
Tue, 4 Mar 2014 08:48:43 +0000 (16:48 +0800)
committerLi Xi <lixi@ddn.com>
Wed, 5 Mar 2014 03:19:02 +0000 (11:19 +0800)
commit42f504ecada81d7a2a8e2244f345e8dbf73fd157
tree934c87e188c8668a69ae95734ef2fc9da14d6d28
parent0e5a1df5ff7176e93c32d9636c42d55173cb7a92
LU-4704 acl: fix permission problem of setfacl

Setxattr does not check the permission when setting ACL xattrs. This
will cause security problem because any user can walk around
permission checking by changing ACL rules.

Signed-off-by: Li Xi <lixi@ddn.com>
Change-Id: I1e5c44674f2e22ecbe29a589a219bed52d037b9b
lustre/autoconf/lustre-core.m4
lustre/llite/xattr.c