diff options
Diffstat (limited to 'recipes-security/refpolicy')
| -rw-r--r-- | recipes-security/refpolicy/refpolicy/0013-fc-fstools-fix-real-path-for-fstools.patch | 13 | ||||
| -rw-r--r-- | recipes-security/refpolicy/refpolicy_git.inc | 2 |
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 @@ | |||
| 1 | From 1249ee744695066f00978af709e637dcf450efa9 Mon Sep 17 00:00:00 2001 | 1 | From 284638aff460da4730009afe994175ce2f4d184f Mon Sep 17 00:00:00 2001 |
| 2 | From: Wenzong Fan <wenzong.fan@windriver.com> | 2 | From: Wenzong Fan <wenzong.fan@windriver.com> |
| 3 | Date: Mon, 27 Jan 2014 03:54:01 -0500 | 3 | Date: Mon, 27 Jan 2014 03:54:01 -0500 |
| 4 | Subject: [PATCH] fc/fstools: fix real path for fstools | 4 | Subject: [PATCH] fc/fstools: fix real path for fstools |
| @@ -10,11 +10,11 @@ Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com> | |||
| 10 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | 10 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> |
| 11 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | 11 | Signed-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 | ||
| 16 | diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc | 16 | diff --git a/policy/modules/system/fstools.fc b/policy/modules/system/fstools.fc |
| 17 | index f12c3515b..e719d7a04 100644 | 17 | index 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 | ||
| 3 | SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=https;branch=main;name=refpolicy;destsuffix=refpolicy" | 3 | SRC_URI = "git://github.com/SELinuxProject/refpolicy.git;protocol=https;branch=main;name=refpolicy;destsuffix=refpolicy" |
| 4 | 4 | ||
| 5 | SRCREV_refpolicy = "004ca3252282b52f525c24f3c874bf7ecf724be1" | 5 | SRCREV_refpolicy = "0deb7170f8e5466a39c95468959321c2c28a5f33" |
| 6 | 6 | ||
| 7 | UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)" | 7 | UPSTREAM_CHECK_GITTAGREGEX = "RELEASE_(?P<pver>\d+_\d+)" |
| 8 | 8 | ||
