Whamcloud - gitweb
LU-14677 sec: do not expose security.c to listxattr/getxattr 01/44101/5
authorSebastien Buisson <sbuisson@ddn.com>
Mon, 28 Jun 2021 18:32:16 +0000 (20:32 +0200)
committerSebastien Buisson <sbuisson@ddn.com>
Fri, 9 Jul 2021 15:15:25 +0000 (17:15 +0200)
commitdb49ec2ae2c96a09fae054e5fcb3d1959e26f83d
tree1feaa7df8d5db2c9f37f80f6b5640533c8364792
parent932007c91333117b7b0905ce5601aafc9b3bdd4e
LU-14677 sec: do not expose security.c to listxattr/getxattr

security.c xattr, which contains encryption context, should not be
exposed by the xattr-related system calls such as listxattr() and
getxattr() because of its special semantics.
Update sanity-sec test_57 to test this.

Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I919f5cbafc53f5745fbfb5b9d2d7316e892d8c9f
lustre/llite/crypto.c
lustre/llite/llite_internal.h
lustre/llite/xattr.c
lustre/tests/sanity-sec.sh