Whamcloud - gitweb
LU-14199 sec: find policy version in use for sepol 18/40918/2
authorSebastien Buisson <sbuisson@ddn.com>
Wed, 9 Dec 2020 12:34:05 +0000 (13:34 +0100)
committerOleg Drokin <green@whamcloud.com>
Mon, 14 Dec 2020 02:40:41 +0000 (02:40 +0000)
commite39d6451efb1d05ce7bb62eb0a91aebe7af302d9
treee471ec3b5052c0163224cf68c7fddc20efffcfd1
parent803a59b87d9b0de8c059447902db176dfd37a24a
LU-14199 sec: find policy version in use for sepol

SELinux exports the maximum kernel policy version that can be used.
When building SELinux status checking representation 'sepol', we need
to look for all possible versions of the policy, not only the max one.

Test-Parameters: clientdistro=el8.3 serverdistro=el8.2 testgroup=review-dne-selinux
Signed-off-by: Sebastien Buisson <sbuisson@ddn.com>
Change-Id: Iae4b66403ce953e5a7c0df585900713c597ff033
Reviewed-on: https://review.whamcloud.com/40918
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Nunez <jnunez@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/tests/sanity-selinux.sh
lustre/utils/l_getsepol.c