summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/session.c b/session.c
index 71e4fbe7c..ab32bb55f 100644
--- a/session.c
+++ b/session.c
@@ -1469,6 +1469,8 @@ do_setusercontext(struct passwd *pw)
1469{ 1469{
1470 char *chroot_path, *tmp; 1470 char *chroot_path, *tmp;
1471 1471
1472 platform_setusercontext(pw);
1473
1472#ifdef WITH_SELINUX 1474#ifdef WITH_SELINUX
1473 /* Cache selinux status for later use */ 1475 /* Cache selinux status for later use */
1474 (void)ssh_selinux_enabled(); 1476 (void)ssh_selinux_enabled();