Whamcloud - gitweb
LU-4704 acl: fix permission problem of setfacl 59/9559/2
authorLi Xi <lixi@ddn.com>
Tue, 4 Mar 2014 08:48:43 +0000 (16:48 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 10 Mar 2014 22:26:06 +0000 (22:26 +0000)
commit91163f69fa88c87830fd6d98a2f13ee474bcda5c
tree67028b6e84989d9f86d235fc01b304a3072390a9
parent4ada710e9d657e1eb403e0d86029b12098f08c86
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>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Emoly Liu <emoly.liu@intel.com>
Change-Id: I5844c5b654afd70fb3b5ee91c024736b377124b0
Reviewed-on: http://review.whamcloud.com/9559
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/autoconf/lustre-core.m4
lustre/llite/xattr.c