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-git/0006-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch | |
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-git/0006-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0006-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0006-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch b/recipes-security/refpolicy/refpolicy-git/0006-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch deleted file mode 100644 index d098118..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0006-fc-resolv.conf-label-resolv.conf-in-var-run-properly.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 9818faa2a732d6d1cda72926526f104de74bd992 Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Thu, 4 Apr 2019 10:45:03 -0400 | ||
4 | Subject: [PATCH 06/34] fc/resolv.conf: label resolv.conf in var/run/ properly | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
9 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
10 | |||
11 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
12 | --- | ||
13 | policy/modules/system/sysnetwork.fc | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/policy/modules/system/sysnetwork.fc b/policy/modules/system/sysnetwork.fc | ||
17 | index 1e5432a4..ac7c2dd1 100644 | ||
18 | --- a/policy/modules/system/sysnetwork.fc | ||
19 | +++ b/policy/modules/system/sysnetwork.fc | ||
20 | @@ -22,6 +22,7 @@ ifdef(`distro_debian',` | ||
21 | /etc/denyhosts.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
22 | /etc/resolv\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
23 | /etc/yp\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
24 | +/var/run/resolv\.conf.* -- gen_context(system_u:object_r:net_conf_t,s0) | ||
25 | |||
26 | /etc/dhcp3(/.*)? gen_context(system_u:object_r:dhcp_etc_t,s0) | ||
27 | /etc/dhcp3?/dhclient.* gen_context(system_u:object_r:dhcp_etc_t,s0) | ||
28 | -- | ||
29 | 2.19.1 | ||
30 | |||