Whamcloud - gitweb
LU-5560 llite: basic support of SELinux in CLIO 48/11648/18
authorSebastien Buisson <sebastien.buisson@bull.net>
Tue, 4 Nov 2014 15:59:00 +0000 (16:59 +0100)
committerOleg Drokin <oleg.drokin@intel.com>
Mon, 29 Jun 2015 22:35:47 +0000 (22:35 +0000)
commit8a11cb6282cfbdc8617b809344e6a11223e86a38
treebb019e481ae7005483b58fa2593b42f43d6e0585
parentd099fdd6cd15d0d00d9b573da5d3bfd3e4bbcb9d
LU-5560 llite: basic support of SELinux in CLIO

Bring the ability to properly initiate security context
on SELinux-enabled client and store it on server side via
extended attribute.

Security context initialization is not atomic, but that would
require a wire protocol change to send security label in the
creation request.

Filter out security.selinux from xattr cache as it is
already cached in system slab.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: Ie6db97be6f78b0b33da2ae54883a4051a2576af5
Reviewed-on: http://review.whamcloud.com/11648
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/autoconf/lustre-core.m4
lustre/include/lustre_compat.h
lustre/llite/Makefile.in
lustre/llite/dir.c
lustre/llite/llite_internal.h
lustre/llite/namei.c
lustre/llite/xattr.c
lustre/llite/xattr_cache.c
lustre/llite/xattr_security.c [new file with mode: 0644]