Whamcloud - gitweb
LU-8955 cfg: reserve flags for SELinux status checking 97/33797/7
authorSebastien Buisson <sbuisson@ddn.com>
Thu, 6 Dec 2018 09:35:47 +0000 (10:35 +0100)
committerOleg Drokin <green@whamcloud.com>
Wed, 16 Jan 2019 07:06:53 +0000 (07:06 +0000)
commite71a77ba8d47279ed6a2704d5677e601e9cb80bb
tree136173e904dd57420e48e5aafbdec1ede6192ba4
parent0ff7d548eb7bf0c04836c7d6809cac163e0ffc2c
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.

Test-Parameters: trivial
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: I009eb8f1597b51acce7dc21498a43096e41cd034
Reviewed-on: https://review.whamcloud.com/33797
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Patrick Farrell <farr0186@gmail.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