1 |
commit: 023d49ed2fe5b7eb20e3b24a786e54993132ed18 |
2 |
Author: David Sugar <dsugar <AT> tresys <DOT> com> |
3 |
AuthorDate: Wed Nov 29 21:14:17 2017 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 12 07:06:26 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=023d49ed |
7 |
|
8 |
RHEL 7.4 has moved the location of /usr/libexec/sesh to /usr/libexec/sudo/sesh |
9 |
|
10 |
Update file context to include label for new location. |
11 |
See https://bugzilla.redhat.com/show_bug.cgi?id=1480791 |
12 |
|
13 |
Signed-off-by: Dave Sugar <dsugar <AT> tresys.com> |
14 |
|
15 |
policy/modules/kernel/corecommands.fc | 1 + |
16 |
1 file changed, 1 insertion(+) |
17 |
|
18 |
diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc |
19 |
index 0d2fd27f..6409fcdd 100644 |
20 |
--- a/policy/modules/kernel/corecommands.fc |
21 |
+++ b/policy/modules/kernel/corecommands.fc |
22 |
@@ -265,6 +265,7 @@ ifdef(`distro_gentoo',` |
23 |
/usr/libexec(/.*)? gen_context(system_u:object_r:bin_t,s0) |
24 |
/usr/libexec/git-core/git-shell -- gen_context(system_u:object_r:shell_exec_t,s0) |
25 |
/usr/libexec/sesh -- gen_context(system_u:object_r:shell_exec_t,s0) |
26 |
+/usr/libexec/sudo/sesh -- gen_context(system_u:object_r:shell_exec_t,s0) |
27 |
|
28 |
/usr/libexec/openssh/sftp-server -- gen_context(system_u:object_r:bin_t,s0) |