Whamcloud - gitweb
LU-4704 acl: fix permission problem of setfacl 14/9514/2
authorLi Xi <lixi@ddn.com>
Tue, 4 Mar 2014 08:48:43 +0000 (16:48 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 6 Mar 2014 16:17:26 +0000 (16:17 +0000)
commit103f0322b9b419d0fe8c29b1adad9598b23fedba
tree72b9614b97fc92f809916345a9a6c6e5992b6d6b
parenta8fbb6816df1a13cccefa40751a34aee5d112b38
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.

Lustre-commit: 42f504ecada81d7a2a8e2244f345e8dbf73fd157
Lustre-change: http://review.whamcloud.com/9473

Signed-off-by: Li Xi <lixi@ddn.com>
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Change-Id: If6bda8ec6b3d91f31bef812acb9f9f636ed56291
Reviewed-on: http://review.whamcloud.com/9514
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/autoconf/lustre-core.m4
lustre/llite/xattr.c