diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/poky-fc-fix-real-path_su.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/poky-fc-fix-real-path_su.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/poky-fc-fix-real-path_su.patch b/recipes-security/refpolicy/refpolicy-git/poky-fc-fix-real-path_su.patch index 23484de..41c32df 100644 --- a/recipes-security/refpolicy/refpolicy-git/poky-fc-fix-real-path_su.patch +++ b/recipes-security/refpolicy/refpolicy-git/poky-fc-fix-real-path_su.patch | |||
@@ -6,17 +6,15 @@ Subject: [PATCH] fix real path for su.shadow command | |||
6 | Upstream-Status: Inappropriate [only for Poky] | 6 | Upstream-Status: Inappropriate [only for Poky] |
7 | 7 | ||
8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | 8 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> |
9 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
9 | --- | 10 | --- |
10 | policy/modules/admin/su.fc | 2 ++ | 11 | policy/modules/admin/su.fc | 2 ++ |
11 | 1 file changed, 2 insertions(+) | 12 | 1 file changed, 2 insertions(+) |
12 | 13 | ||
13 | --- a/policy/modules/admin/su.fc | 14 | --- a/policy/modules/admin/su.fc |
14 | +++ b/policy/modules/admin/su.fc | 15 | +++ b/policy/modules/admin/su.fc |
15 | @@ -3,5 +3,7 @@ | 16 | @@ -1,3 +1,4 @@ |
16 | /usr/bin/su -- gen_context(system_u:object_r:su_exec_t,s0) | ||
17 | |||
18 | /usr/(local/)?bin/ksu -- gen_context(system_u:object_r:su_exec_t,s0) | 17 | /usr/(local/)?bin/ksu -- gen_context(system_u:object_r:su_exec_t,s0) |
19 | /usr/bin/kdesu -- gen_context(system_u:object_r:su_exec_t,s0) | 18 | /usr/bin/kdesu -- gen_context(system_u:object_r:su_exec_t,s0) |
20 | /usr/bin/su -- gen_context(system_u:object_r:su_exec_t,s0) | 19 | /usr/bin/su -- gen_context(system_u:object_r:su_exec_t,s0) |
21 | + | 20 | +/usr/bin/su.shadow -- gen_context(system_u:object_r:su_exec_t,s0) |
22 | +/bin/su.shadow -- gen_context(system_u:object_r:su_exec_t,s0) | ||