9P: returns EROFS when export entry is read-only.

Change-Id: I65179e57eb1b73ab7f1dda26721ad5e3f488e394
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
FSAL_LUSTRE: builds FSAL_SHOOK with name "SHOOK"

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
LOG: adds a "COMPONENT_SECURITY" to the logging components.

Change-Id: Iabd74d1bf8fedac1333298502a832b62a9cd3500
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Adds SELINUX flags in CMakeLists.txt files

Change-Id: I369d079f944a1e375b23c32c9f292b4bc6fae087
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/SELinux: fixes bug when managing flags EXPORT_OPTION_SELINUX

Change-Id: Ia150c9288b4f2bca6019f0147a401a958bd9952c
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Export management : adds a "selinux" SecType

Change-Id: I73c77b538972053e22d876f5ce6db0cc9a178c0e
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Adds selinux related code in 9P.

This commit adds selinux related code in 9P. This is done
by adding a call to a function that does selinux checking by
using selinux_check_access().
SElinux source context is passed to Ganesha via the TAUTH message.
Selinux support is activated bu using "cmake -DUSE_SELINUX=ON ..."

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
Change-Id: I77d8b9335a31234666a008937981ee7451e0b934

squash me

Change-Id: I6f3d33ad6d2e79e2378d784d39e4699eb6c3d394
Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/SELINUX: do now perform SElinux check on xattr related actions.

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>
9P/SELINUX: makes helper in /bin/mount.9P aware of selinux mount option

Signed-off-by: Philippe DENIEL <philippe.deniel@cea.fr>