diff options
author | Damien Miller <djm@mindrot.org> | 2016-01-08 14:24:56 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2016-01-08 14:29:12 +1100 |
commit | 4626cbaf78767fc8e9c86dd04785386c59ae0839 (patch) | |
tree | 449a777d8781a7f88724cbec9a4717f5b3fe4ec6 /ssh-agent.c | |
parent | 422d1b3ee977ff4c724b597fb2e437d38fc8de9d (diff) |
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 'ssh-agent.c')
-rw-r--r-- | ssh-agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c index 2048a11c..6c50e0f0 100644 --- a/ssh-agent.c +++ b/ssh-agent.c @@ -1417,6 +1417,7 @@ skip: if (pledge("stdio cpath unix id proc exec", NULL) == -1) fatal("%s: pledge: %s", __progname, strerror(errno)); + platform_pledge_agent(); while (1) { prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp); |