]> andersk Git - openssh.git/blobdiff - session.c
- (djm) [Makefile.in configure.ac session.c sshpty.c]
[openssh.git] / session.c
index 8b837d07db0be9d60e655efca3ee448932f5b07d..bba3fa21f71d2ed5f98c7cc42925ec2a12e57f48 100644 (file)
--- a/session.c
+++ b/session.c
@@ -1352,6 +1352,10 @@ do_setusercontext(struct passwd *pw)
 #endif
        if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid)
                fatal("Failed to set uids to %u.", (u_int) pw->pw_uid);
+
+#ifdef WITH_SELINUX
+       ssh_selinux_setup_exec_context(pw->pw_name);
+#endif
 }
 
 static void
This page took 0.13519 seconds and 4 git commands to generate.