diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch b/recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch deleted file mode 100644 index 54dd451..0000000 --- a/recipes-security/refpolicy/refpolicy/0048-policy-modules-system-selinuxutil-allow-semanage_t-t.patch +++ /dev/null | |||
@@ -1,33 +0,0 @@ | |||
1 | From 74f611538d63cdf4157e6b5f4b982cafe0378b9a Mon Sep 17 00:00:00 2001 | ||
2 | From: Yi Zhao <yi.zhao@windriver.com> | ||
3 | Date: Mon, 29 Jun 2020 14:30:58 +0800 | ||
4 | Subject: [PATCH] policy/modules/system/selinuxutil: allow semanage_t to read | ||
5 | /var/lib | ||
6 | |||
7 | Upstream-Status: Inappropriate [embedded specific] | ||
8 | |||
9 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
10 | --- | ||
11 | policy/modules/system/selinuxutil.te | 6 ++---- | ||
12 | 1 file changed, 2 insertions(+), 4 deletions(-) | ||
13 | |||
14 | diff --git a/policy/modules/system/selinuxutil.te b/policy/modules/system/selinuxutil.te | ||
15 | index 8f8f42ec7..a505b3987 100644 | ||
16 | --- a/policy/modules/system/selinuxutil.te | ||
17 | +++ b/policy/modules/system/selinuxutil.te | ||
18 | @@ -549,10 +549,8 @@ userdom_map_user_home_content_files(semanage_t) | ||
19 | userdom_read_user_tmp_files(semanage_t) | ||
20 | userdom_map_user_tmp_files(semanage_t) | ||
21 | |||
22 | -ifdef(`distro_debian',` | ||
23 | - files_read_var_lib_files(semanage_t) | ||
24 | - files_read_var_lib_symlinks(semanage_t) | ||
25 | -') | ||
26 | +files_read_var_lib_files(semanage_t) | ||
27 | +files_read_var_lib_symlinks(semanage_t) | ||
28 | |||
29 | ifdef(`distro_ubuntu',` | ||
30 | optional_policy(` | ||
31 | -- | ||
32 | 2.17.1 | ||
33 | |||