Whamcloud - gitweb
LU-4704 acl: fix permission problem of setfacl 73/9473/3
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 07:55:30 +0000 (07:55 +0000)
commit59fb3523a2adaa5e0234ba5b63a3a672aa0b9f2e
treeda02f2214bd425df83cd82010180bf0752d7e1d6
parent3474d192add07e1f2122515580a987a5da22e974
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
Reviewed-on: http://review.whamcloud.com/9473
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/llite/xattr.c