aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Sugar <dsugar@tresys.com>2017-11-29 21:14:17 +0000
committerJason Zaman <jason@perfinion.com>2017-12-12 15:06:26 +0800
commit023d49ed2fe5b7eb20e3b24a786e54993132ed18 (patch)
tree831be643027ee93123fb393421b4061464bb62ba
parentWork around systemd-logind patch not in RHEL 7.x yet (diff)
downloadhardened-refpolicy-023d49ed2fe5b7eb20e3b24a786e54993132ed18.tar.gz
hardened-refpolicy-023d49ed2fe5b7eb20e3b24a786e54993132ed18.tar.bz2
hardened-refpolicy-023d49ed2fe5b7eb20e3b24a786e54993132ed18.zip
RHEL 7.4 has moved the location of /usr/libexec/sesh to /usr/libexec/sudo/sesh
Update file context to include label for new location. See https://bugzilla.redhat.com/show_bug.cgi?id=1480791 Signed-off-by: Dave Sugar <dsugar@tresys.com>
-rw-r--r--policy/modules/kernel/corecommands.fc1
1 files changed, 1 insertions, 0 deletions
diff --git a/policy/modules/kernel/corecommands.fc b/policy/modules/kernel/corecommands.fc
index 0d2fd27f5..6409fcdd3 100644
--- a/policy/modules/kernel/corecommands.fc
+++ b/policy/modules/kernel/corecommands.fc
@@ -265,6 +265,7 @@ ifdef(`distro_gentoo',`
/usr/libexec(/.*)? gen_context(system_u:object_r:bin_t,s0)
/usr/libexec/git-core/git-shell -- gen_context(system_u:object_r:shell_exec_t,s0)
/usr/libexec/sesh -- gen_context(system_u:object_r:shell_exec_t,s0)
+/usr/libexec/sudo/sesh -- gen_context(system_u:object_r:shell_exec_t,s0)
/usr/libexec/openssh/sftp-server -- gen_context(system_u:object_r:bin_t,s0)