diff options
author | Damien Miller <djm@mindrot.org> | 2016-01-08 04:24:56 +0100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-01-08 04:29:12 +0100 |
commit | 4626cbaf78767fc8e9c86dd04785386c59ae0839 (patch) | |
tree | 449a777d8781a7f88724cbec9a4717f5b3fe4ec6 /mux.c | |
parent | upstream commit (diff) | |
download | openssh-4626cbaf78767fc8e9c86dd04785386c59ae0839.tar.xz openssh-4626cbaf78767fc8e9c86dd04785386c59ae0839.zip |
Support Illumos/Solaris fine-grained privileges
Includes a pre-auth privsep sandbox and several pledge()
emulations. bz#2511, patch by Alex Wilson.
ok dtucker@
Diffstat (limited to 'mux.c')
-rw-r--r-- | mux.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1891,6 +1891,7 @@ mux_client_request_session(int fd) if (pledge("stdio proc tty", NULL) == -1) fatal("%s pledge(): %s", __func__, strerror(errno)); + platform_pledge_mux(); signal(SIGHUP, control_client_sighandler); signal(SIGINT, control_client_sighandler); @@ -2001,6 +2002,7 @@ mux_client_request_stdio_fwd(int fd) if (pledge("stdio proc tty", NULL) == -1) fatal("%s pledge(): %s", __func__, strerror(errno)); + platform_pledge_mux(); debug3("%s: stdio forward request sent", __func__); |