diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0015-fc-su-apply-policy-to-su-alternatives.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0015-fc-su-apply-policy-to-su-alternatives.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0015-fc-su-apply-policy-to-su-alternatives.patch b/recipes-security/refpolicy/refpolicy-git/0015-fc-su-apply-policy-to-su-alternatives.patch new file mode 100644 index 0000000..b26eeea --- /dev/null +++ b/recipes-security/refpolicy/refpolicy-git/0015-fc-su-apply-policy-to-su-alternatives.patch | |||
@@ -0,0 +1,26 @@ | |||
1 | From d6eb7326773a01cea4cb6949e8e8f94e12d145ca 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 15/34] fc/su: apply policy to su alternatives | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
9 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
10 | --- | ||
11 | policy/modules/admin/su.fc | 2 ++ | ||
12 | 1 file changed, 2 insertions(+) | ||
13 | |||
14 | diff --git a/policy/modules/admin/su.fc b/policy/modules/admin/su.fc | ||
15 | index 3375c969..435a6892 100644 | ||
16 | --- a/policy/modules/admin/su.fc | ||
17 | +++ b/policy/modules/admin/su.fc | ||
18 | @@ -1,3 +1,5 @@ | ||
19 | /usr/(local/)?bin/ksu -- gen_context(system_u:object_r:su_exec_t,s0) | ||
20 | /usr/bin/kdesu -- gen_context(system_u:object_r:su_exec_t,s0) | ||
21 | /usr/bin/su -- gen_context(system_u:object_r:su_exec_t,s0) | ||
22 | +/usr/bin/su\.shadow -- gen_context(system_u:object_r:su_exec_t,s0) | ||
23 | +/usr/bin/su\.util-linux -- gen_context(system_u:object_r:su_exec_t,s0) | ||
24 | -- | ||
25 | 2.19.1 | ||
26 | |||