Whamcloud - gitweb
LU-4924 llite: Only kill SGID/SUID bits 05/10405/2
authorNathaniel Clark <nathaniel.l.clark@intel.com>
Tue, 29 Apr 2014 20:24:59 +0000 (16:24 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 27 May 2014 15:46:28 +0000 (15:46 +0000)
commitdd8189da974a359d7e1717fc8fc84b5139f0744b
treeb56e34ba340f2b0aeab19ec2c51dd17799f26fff
parent499a4627b70d8b5fabd7e4cf2119a5c99bed4282
LU-4924 llite: Only kill SGID/SUID bits

Check that attr mode is valid before using it when determining if to
clear SGID and SUID bits in ll_setattr.
Add regression test.

Lustre-commit: 1504473051df3d20e824f1064ee134501f3856e8
Lustre-change: http://review.whamcloud.com/10153

Signed-off-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Signed-off-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Change-Id: I3c8382d6f0899ce9190ccb2993af4c508942b316
Reviewed-on: http://review.whamcloud.com/10405
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/llite/llite_lib.c
lustre/tests/Makefile.am
lustre/tests/acl/4924.test [new file with mode: 0644]
lustre/tests/sanity.sh