linux-sg2042/scripts/selinux
Stephen Smalley 382c2b5d23 scripts/selinux/mdp: fix initial SID handling
commit e3e0b582c3 ("selinux: remove unused initial SIDs and improve
handling") broke scripts/selinux/mdp since the unused initial SID names
were removed and the corresponding generation of policy initial SID
definitions by mdp was not updated accordingly.  Fix it.  With latest
upstream checkpolicy it is no longer necessary to include the SID context
definitions for the unused initial SIDs but retain them for compatibility
with older checkpolicy.

Fixes: e3e0b582c3 ("selinux: remove unused initial SIDs and improve handling")
Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
2020-06-23 20:48:15 -04:00
..
genheaders SPDX patches for 5.7-rc1. 2020-04-03 13:12:26 -07:00
mdp scripts/selinux/mdp: fix initial SID handling 2020-06-23 20:48:15 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
README doc: ReSTify SELinux.txt 2017-05-18 10:31:30 -06:00
install_policy.sh scripts/selinux: modernize mdp 2019-03-18 18:38:28 -04:00

README

Please see Documentation/admin-guide/LSM/SELinux.rst for information on
installing a dummy SELinux policy.