diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy/0012-fc-su-apply-policy-to-su-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy/0012-fc-su-apply-policy-to-su-alternatives.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy/0012-fc-su-apply-policy-to-su-alternatives.patch b/recipes-security/refpolicy/refpolicy/0012-fc-su-apply-policy-to-su-alternatives.patch new file mode 100644 index 0000000..f1138d6 --- /dev/null +++ b/recipes-security/refpolicy/refpolicy/0012-fc-su-apply-policy-to-su-alternatives.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From dd1663aaffec1f7b36097c742094c9c239342d9f Mon Sep 17 00:00:00 2001 | ||
2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
3 | Date: Thu, 13 Feb 2014 00:33:07 -0500 | ||
4 | Subject: [PATCH] fc/su: apply policy to su alternatives | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
9 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
10 | Signed-off-by: Yi Zhao <yi.zhao@windriver.com> | ||
11 | --- | ||
12 | policy/modules/admin/su.fc | 2 ++ | ||
13 | 1 file changed, 2 insertions(+) | ||
14 | |||
15 | diff --git a/policy/modules/admin/su.fc b/policy/modules/admin/su.fc | ||
16 | index 3375c9692..a9868cd58 100644 | ||
17 | --- a/policy/modules/admin/su.fc | ||
18 | +++ b/policy/modules/admin/su.fc | ||
19 | @@ -1,3 +1,5 @@ | ||
20 | /usr/(local/)?bin/ksu -- gen_context(system_u:object_r:su_exec_t,s0) | ||
21 | /usr/bin/kdesu -- gen_context(system_u:object_r:su_exec_t,s0) | ||
22 | /usr/bin/su -- gen_context(system_u:object_r:su_exec_t,s0) | ||
23 | +/usr/bin/su\.shadow -- gen_context(system_u:object_r:su_exec_t,s0) | ||
24 | +/usr/bin/su\.util-linux -- gen_context(system_u:object_r:su_exec_t,s0) | ||
25 | -- | ||
26 | 2.25.1 | ||
27 | |||