diff options
author | Yi Zhao <yi.zhao@windriver.com> | 2023-07-27 14:07:48 -0400 |
---|---|---|
committer | Joe MacDonald <joe@deserted.net> | 2023-07-31 15:05:30 -0400 |
commit | 1924d975283210f0c36bc3c0e8ce516ccc06961f (patch) | |
tree | 494be7575b6219b816613ddefb6072973d8e78d4 /recipes-security/refpolicy/refpolicy-targeted_git.bb | |
parent | 4f3ec6e10f13aaf19fbca9a18547f9e72ba1ec0a (diff) | |
download | meta-selinux-dunfell.tar.gz |
refpolicy: update to 20200229+gitdunfell
* Drop obsolete and unused patches.
* Rebase patches.
* Add patches to make systemd and sysvinit can work with all policy types.
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
(cherry picked from commit 15fed8756aa4828fa12a3d813754b4ca65a7607d)
Signed-off-by: Armin Kuster <akuster@mvista.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-targeted_git.bb')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-targeted_git.bb | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/recipes-security/refpolicy/refpolicy-targeted_git.bb b/recipes-security/refpolicy/refpolicy-targeted_git.bb index 1ecdb4e..e37a083 100644 --- a/recipes-security/refpolicy/refpolicy-targeted_git.bb +++ b/recipes-security/refpolicy/refpolicy-targeted_git.bb | |||
@@ -14,22 +14,6 @@ POLICY_MLS_SENS = "0" | |||
14 | 14 | ||
15 | include refpolicy_${PV}.inc | 15 | include refpolicy_${PV}.inc |
16 | 16 | ||
17 | SYSTEMD_REFPOLICY_PATCHES = " \ | ||
18 | file://0001-refpolicy-minimum-audit-logging-getty-audit-related-.patch \ | ||
19 | file://0002-refpolicy-minimum-locallogin-add-allow-rules-for-typ.patch \ | ||
20 | file://0003-refpolicy-minimum-systemd-unconfined-lib-add-systemd.patch \ | ||
21 | file://0004-refpolicy-minimum-systemd-mount-logging-authlogin-ad.patch \ | ||
22 | file://0005-refpolicy-minimum-init-fix-reboot-with-systemd-as-in.patch \ | ||
23 | file://0006-refpolicy-minimum-systemd-mount-enable-required-refp.patch \ | ||
24 | file://0007-refpolicy-minimum-systemd-fix-for-login-journal-serv.patch \ | ||
25 | file://0008-refpolicy-minimum-systemd-fix-for-systemd-tmp-files-.patch \ | ||
26 | file://0009-refpolicy-minimum-systemd-fix-for-syslog.patch \ | ||
27 | " | ||
28 | |||
29 | SYSVINIT_REFPOLICY_PATCHES = " \ | ||
30 | file://0001-fix-update-alternatives-for-sysvinit.patch \ | ||
31 | " | ||
32 | |||
33 | SRC_URI += " \ | 17 | SRC_URI += " \ |
34 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${SYSTEMD_REFPOLICY_PATCHES}', '${SYSVINIT_REFPOLICY_PATCHES}', d)} \ | 18 | file://0001-refpolicy-targeted-make-unconfined_u-the-default-sel.patch \ |
35 | " | 19 | " |