Whamcloud - gitweb
LU-8955 cfg: reserve flags for SELinux status checking 38/34638/4
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 6 Dec 2018 09:35:47 +0000 (10:35 +0100)
committerOleg Drokin <green@whamcloud.com>
Tue, 16 Apr 2019 20:50:14 +0000 (20:50 +0000)
commit60e12ac3a7b0e3c1f00d4ce17b39d617a092417a
treed68803f81c87d4d84c652eae32334e8dc440a742
parented477cbbb03b9edefdc5a7562c7dae11533562e1
LU-8955 cfg: reserve flags for SELinux status checking

Reserve LCFG_NODEMAP_SET_SEPOL config flag that will be used to
define sepol parameter on nodemap entries.
Reserve OBD_CONNECT2_SELINUX_POLICY connection flag that will be set
(in ocd_connect_flags2) if a client supports sending the SELinux
policy status info.
Add checks for all lcfg_command_type constants, along with lustre_cfg
and cfg_record_type.

Lustre-change: https://review.whamcloud.com/33797
Lustre-commit: e71a77ba8d47279ed6a2704d5677e601e9cb80bb

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I009eb8f1597b51acce7dc21498a43096e41cd034
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <farr0186@gmail.com>
Reviewed-on: https://review.whamcloud.com/34638
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_cfg.h
lustre/include/uapi/linux/lustre/lustre_idl.h
lustre/obdclass/lprocfs_status.c
lustre/ptlrpc/wiretest.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c