summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYi Zhao <yi.zhao@windriver.com>2025-10-22 10:59:38 +0800
committerYi Zhao <yi.zhao@windriver.com>2025-11-06 10:24:56 +0800
commit5776ff1a930d383e641bb3889ef3b5f42363e5c4 (patch)
treea85847929614dfa01978f434618e2a70e24e909e
parent5ef032c67574e868f7f8b3f1f20297f16c8f0420 (diff)
downloadmeta-selinux-master.tar.gz
refpolicy: update to latest git revHEADmaster
* 739ee699b portage: grant compile domains getattr on chr_files in /dev * 7de9ae015 ssh: set file context for default locations of split binaries * 4af789c43 check_fc_files.py: Add a version suffix match * e93b0cf5e devices: Add iio write and rw interfaces Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
-rw-r--r--recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch13
-rw-r--r--recipes-security/refpolicy/refpolicy_git.inc2
2 files changed, 8 insertions, 7 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch b/recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch
index 3463350..5cde88d 100644
--- a/recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch
+++ b/recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch
@@ -1,4 +1,4 @@
1From 1249ee744695066f00978af709e637dcf450efa9 Mon Sep 17 00:00:00 2001 1From 284638aff460da4730009afe994175ce2f4d184f Mon Sep 17 00:00:00 2001
2From: Wenzong Fan <wenzong.fan@windriver.com> 2From: Wenzong Fan <wenzong.fan@windriver.com>
3Date: Mon, 27 Jan 2014 03:54:01 -0500 3Date: Mon, 27 Jan 2014 03:54:01 -0500
4Subject: [PATCH] fc/fstools: fix real path for fstools 4Subject: [PATCH] fc/fstools: fix real path for fstools
@@ -10,11 +10,11 @@ Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com>
10Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> 10Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
11Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 11Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
12--- 12---
13 policy/modules/system/fstools.fc | 10 ++++++++++ 13 policy/modules/system/fstools.fc | 11 +++++++++++
14 1 file changed, 10 insertions(+) 14 1 file changed, 11 insertions(+)
15 15
16diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc 16diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc
17index f12c3515b..e719d7a04 100644 17index f12c3515b..500acfb23 100644
18--- a/policy/modules/system/fstools.fc 18--- a/policy/modules/system/fstools.fc
19+++ b/policy/modules/system/fstools.fc 19+++ b/policy/modules/system/fstools.fc
20@@ -55,7 +55,9 @@ 20@@ -55,7 +55,9 @@
@@ -27,7 +27,7 @@ index f12c3515b..e719d7a04 100644
27 /usr/sbin/cfdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) 27 /usr/sbin/cfdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0)
28 /usr/sbin/clubufflush -- gen_context(system_u:object_r:fsadm_exec_t,s0) 28 /usr/sbin/clubufflush -- gen_context(system_u:object_r:fsadm_exec_t,s0)
29 /usr/sbin/delpart -- gen_context(system_u:object_r:fsadm_exec_t,s0) 29 /usr/sbin/delpart -- gen_context(system_u:object_r:fsadm_exec_t,s0)
30@@ -68,23 +70,29 @@ 30@@ -68,23 +70,30 @@
31 /usr/sbin/e2mmpstatus -- gen_context(system_u:object_r:fsadm_exec_t,s0) 31 /usr/sbin/e2mmpstatus -- gen_context(system_u:object_r:fsadm_exec_t,s0)
32 /usr/sbin/fatsort -- gen_context(system_u:object_r:fsadm_exec_t,s0) 32 /usr/sbin/fatsort -- gen_context(system_u:object_r:fsadm_exec_t,s0)
33 /usr/sbin/fdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) 33 /usr/sbin/fdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0)
@@ -35,6 +35,7 @@ index f12c3515b..e719d7a04 100644
35 /usr/sbin/findfs -- gen_context(system_u:object_r:fsadm_exec_t,s0) 35 /usr/sbin/findfs -- gen_context(system_u:object_r:fsadm_exec_t,s0)
36+/usr/sbin/findfs\.util-linux -- gen_context(system_u:object_r:fsadm_exec_t,s0) 36+/usr/sbin/findfs\.util-linux -- gen_context(system_u:object_r:fsadm_exec_t,s0)
37 /usr/sbin/fstrim -- gen_context(system_u:object_r:fsadm_exec_t,s0) 37 /usr/sbin/fstrim -- gen_context(system_u:object_r:fsadm_exec_t,s0)
38+/usr/sbin/fstrim\.util-linux -- gen_context(system_u:object_r:fsadm_exec_t,s0)
38 /usr/sbin/fsck.* -- gen_context(system_u:object_r:fsadm_exec_t,s0) 39 /usr/sbin/fsck.* -- gen_context(system_u:object_r:fsadm_exec_t,s0)
39 /usr/sbin/gdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) 40 /usr/sbin/gdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0)
40 /usr/sbin/hdparm -- gen_context(system_u:object_r:fsadm_exec_t,s0) 41 /usr/sbin/hdparm -- gen_context(system_u:object_r:fsadm_exec_t,s0)
@@ -57,7 +58,7 @@ index f12c3515b..e719d7a04 100644
57 /usr/sbin/partx -- gen_context(system_u:object_r:fsadm_exec_t,s0) 58 /usr/sbin/partx -- gen_context(system_u:object_r:fsadm_exec_t,s0)
58 /usr/sbin/raidautorun -- gen_context(system_u:object_r:fsadm_exec_t,s0) 59 /usr/sbin/raidautorun -- gen_context(system_u:object_r:fsadm_exec_t,s0)
59 /usr/sbin/raidstart -- gen_context(system_u:object_r:fsadm_exec_t,s0) 60 /usr/sbin/raidstart -- gen_context(system_u:object_r:fsadm_exec_t,s0)
60@@ -93,8 +101,10 @@ 61@@ -93,8 +102,10 @@
61 /usr/sbin/sfdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0) 62 /usr/sbin/sfdisk -- gen_context(system_u:object_r:fsadm_exec_t,s0)
62 /usr/sbin/smartctl -- gen_context(system_u:object_r:fsadm_exec_t,s0) 63 /usr/sbin/smartctl -- gen_context(system_u:object_r:fsadm_exec_t,s0)
63 /usr/sbin/swapoff -- gen_context(system_u:object_r:fsadm_exec_t,s0) 64 /usr/sbin/swapoff -- gen_context(system_u:object_r:fsadm_exec_t,s0)
diff --git a/recipes-security/refpolicy/refpolicy_git.inc b/recipes-security/refpolicy/refpolicy_git.inc
index 40fca83..c5f9ae1 100644
--- a/recipes-security/refpolicy/refpolicy_git.inc
+++ b/recipes-security/refpolicy/refpolicy_git.inc
@@ -2,7 +2,7 @@ PV = "2.20250923+git"
2 2
3SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=https;branch=main;name=refpolicy;destsuffix=refpolicy" 3SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=https;branch=main;name=refpolicy;destsuffix=refpolicy"
4 4
5SRCREV_refpolicy = "004ca3252282b52f525c24f3c874bf7ecf724be1" 5SRCREV_refpolicy = "0deb7170f8e5466a39c95468959321c2c28a5f33"
6 6
7UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)" 7UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)"
8 8