summaryrefslogtreecommitdiffstats
path: root/recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2024-03-04 15:18:22 +0800
committerJoe MacDonald <joe@deserted.net>2024-03-12 08:34:35 -0400
commit7fc76cf77b007a3f79b7369ce578d11270aef9c2 (patch)
tree4d9052fd0bb94d6e777b806d7cc3a0a7083f05be /recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch
parent4544e817a1b549976749b0b9e355834cc54d6ea0 (diff)
downloadmeta-selinux-7fc76cf77b007a3f79b7369ce578d11270aef9c2.tar.gz
refpolicy: upgrade 20231002+git -> 20240226+git
ChangeLog: https://github.com/SELinuxProject/refpolicy/blob/main/Changelog Notable Changes: Many systemd updates up to v255 RPM and dnf fixes Tighten private key handling for Apache Many container and kubernetes improvements Add support for Cilium Update object class definitions up to io_uring:cmd Add additional rules to cloud-init based on sysadm_t * Update to latest git rev. * Refresh patches. * Add a patch to fix reboot timeout error. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Joe MacDonald <joe@deserted.net>
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch')
-rw-r--r--recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch b/recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch
new file mode 100644
index 0000000..5ced4ae
--- /dev/null
+++ b/recipes-security/refpolicy/refpolicy/0041-policy-modules-system-mount-make-mount_t-domain-MLS-.patch
@@ -0,0 +1,35 @@
1From 53a770736133d84be9cab23732811f96304bf737 Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Sat, 15 Feb 2014 04:22:47 -0500
4Subject: [PATCH] policy/modules/system/mount: make mount_t domain MLS trusted
5 for writing to processes up to its clearance
6
7Fixes:
8avc: denied { setsched } for pid=148 comm="mount"
9scontext=system_u:system_r:mount_t:s0-s15:c0.c1023
10tcontext=system_u:system_r:kernel_t:s15:c0.c1023 tclass=process
11permissive=1
12
13Upstream-Status: Inappropriate [embedded specific]
14
15Signen-off-by: Wenzong Fan <wenzong.fan@windriver.com>
16Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
17---
18 policy/modules/system/mount.te | 1 +
19 1 file changed, 1 insertion(+)
20
21diff --git a/policy/modules/system/mount.te b/policy/modules/system/mount.te
22index 8cd51d563..3fc37619e 100644
23--- a/policy/modules/system/mount.te
24+++ b/policy/modules/system/mount.te
25@@ -117,6 +117,7 @@ fs_dontaudit_write_all_image_files(mount_t)
26
27 mls_file_read_all_levels(mount_t)
28 mls_file_write_all_levels(mount_t)
29+mls_process_write_to_clearance(mount_t)
30
31 selinux_get_enforce_mode(mount_t)
32
33--
342.25.1
35