summaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/policydb.c
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2020-06-17 21:22:16 +0200
committerPaul Moore <paul@paul-moore.com>2020-06-24 02:48:15 +0200
commit382c2b5d23b4245f1818f69286db334355488dc4 (patch)
treeb3d8df33b665014b7d3bed74c12739168da1dd3d /security/selinux/ss/policydb.c
parentselinux: allow reading labels before policy is loaded (diff)
downloadlinux-382c2b5d23b4245f1818f69286db334355488dc4.tar.xz
linux-382c2b5d23b4245f1818f69286db334355488dc4.zip
scripts/selinux/mdp: fix initial SID handling
commit e3e0b582c321 ("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: e3e0b582c321 ("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>
Diffstat (limited to 'security/selinux/ss/policydb.c')
0 files changed, 0 insertions, 0 deletions