summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2010-11-05 12:03:05 +1100
committerDarren Tucker <dtucker@zip.com.au>2010-11-05 12:03:05 +1100
commit97528353c2b4f27169ea9b81e5c4420c734ceea2 (patch)
tree7f373a0ff2a453fc4b86c3467501c485dd510e44 /session.c
parent34ee4204c6051f5f48113903750738e8e055a778 (diff)
- (dtucker) [configure.ac platform.{c,h} session.c
openbsd-compat/port-solaris.{c,h}] Bug #1824: Add Solaris Project support. Patch from cory.erickson at csu mnscu edu with a bit of rework from me. ok djm@
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();