diff options
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1796,6 +1796,9 @@ do_child(Session *s, const char *command) | |||
1796 | argv[i] = NULL; | 1796 | argv[i] = NULL; |
1797 | optind = optreset = 1; | 1797 | optind = optreset = 1; |
1798 | __progname = argv[0]; | 1798 | __progname = argv[0]; |
1799 | #ifdef WITH_SELINUX | ||
1800 | ssh_selinux_change_context("sftpd_t"); | ||
1801 | #endif | ||
1799 | exit(sftp_server_main(i, argv, s->pw)); | 1802 | exit(sftp_server_main(i, argv, s->pw)); |
1800 | } | 1803 | } |
1801 | 1804 | ||