View | Details | Raw Unified | Return to bug 1726
Collapse All | Expand All

(-)b/session.c (-4 / +4 lines)
Lines 1522-1527 Link Here
1522
# endif /* USE_LIBIAF */
1522
# endif /* USE_LIBIAF */
1523
#endif
1523
#endif
1524
1524
1525
#ifdef WITH_SELINUX
1526
		ssh_selinux_setup_exec_context(pw->pw_name);
1527
#endif
1528
1525
		if (options.chroot_directory != NULL &&
1529
		if (options.chroot_directory != NULL &&
1526
		    strcasecmp(options.chroot_directory, "none") != 0) {
1530
		    strcasecmp(options.chroot_directory, "none") != 0) {
1527
                        tmp = tilde_expand_filename(options.chroot_directory,
1531
                        tmp = tilde_expand_filename(options.chroot_directory,
Lines 1550-1559 Link Here
1550
1554
1551
	if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid)
1555
	if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid)
1552
		fatal("Failed to set uids to %u.", (u_int) pw->pw_uid);
1556
		fatal("Failed to set uids to %u.", (u_int) pw->pw_uid);
1553
1554
#ifdef WITH_SELINUX
1555
	ssh_selinux_setup_exec_context(pw->pw_name);
1556
#endif
1557
}
1557
}
1558
1558
1559
static void
1559
static void

Return to bug 1726