mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
refpolicy: Add support for the SYSTEMD build.conf option.
refpolicy has introduced a new build.conf option, SYSTEMD=y, to enable rules specific to using systemd as the init system. In particular, without setting this option, rules for direct domain transitions from init_t to daemon domains are not included in the policy. Define a POLICY_SYSTEMD variable in the refpolicy common include file that can be set elsewhere to enable this support. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Philip Tricca <flihp@twobit.us>
This commit is contained in:
parent
fad5528d09
commit
5f0182e2e1
|
|
@ -35,6 +35,7 @@ POLICY_DISTRO ?= "redhat"
|
|||
POLICY_UBAC ?= "n"
|
||||
POLICY_UNK_PERMS ?= "allow"
|
||||
POLICY_DIRECT_INITRC ?= "n"
|
||||
POLICY_SYSTEMD ?= "n"
|
||||
POLICY_MONOLITHIC ?= "n"
|
||||
POLICY_CUSTOM_BUILDOPT ?= ""
|
||||
POLICY_QUIET ?= "y"
|
||||
|
|
@ -48,6 +49,7 @@ EXTRA_OEMAKE += "NAME=${POLICY_NAME} \
|
|||
UBAC=${POLICY_UBAC} \
|
||||
UNK_PERMS=${POLICY_UNK_PERMS} \
|
||||
DIRECT_INITRC=${POLICY_DIRECT_INITRC} \
|
||||
SYSTEMD=${POLICY_SYSTEMD} \
|
||||
MONOLITHIC=${POLICY_MONOLITHIC} \
|
||||
CUSTOM_BUILDOPT=${POLICY_CUSTOM_BUILDOPT} \
|
||||
QUIET=${POLICY_QUIET} \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user