diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |