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-minimum_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-minimum_git.bb')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-minimum_git.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/recipes-security/refpolicy/refpolicy-minimum_git.bb b/recipes-security/refpolicy/refpolicy-minimum_git.bb index 3b3ca15..dc06ccf 100644 --- a/recipes-security/refpolicy/refpolicy-minimum_git.bb +++ b/recipes-security/refpolicy/refpolicy-minimum_git.bb | |||
@@ -11,6 +11,10 @@ Pretty much everything runs as initrc_t or unconfined_t so all of the \ | |||
11 | domains are unconfined. \ | 11 | domains are unconfined. \ |
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI += " \ | ||
15 | file://0001-refpolicy-minimum-make-sysadmin-module-optional.patch \ | ||
16 | " | ||
17 | |||
14 | POLICY_NAME = "minimum" | 18 | POLICY_NAME = "minimum" |
15 | 19 | ||
16 | CORE_POLICY_MODULES = "unconfined \ | 20 | CORE_POLICY_MODULES = "unconfined \ |
@@ -30,7 +34,7 @@ CORE_POLICY_MODULES = "unconfined \ | |||
30 | locallogin \ | 34 | locallogin \ |
31 | " | 35 | " |
32 | #systemd dependent policy modules | 36 | #systemd dependent policy modules |
33 | CORE_POLICY_MODULES += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'clock systemd udev fstools', '', d)}" | 37 | CORE_POLICY_MODULES += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'clock systemd udev fstools dbus', '', d)}" |
34 | 38 | ||
35 | # nscd caches libc-issued requests to the name service. | 39 | # nscd caches libc-issued requests to the name service. |
36 | # Without nscd.pp, commands want to use these caches will be blocked. | 40 | # Without nscd.pp, commands want to use these caches will be blocked. |