summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2016-01-08 14:24:56 +1100
committerDamien Miller <djm@mindrot.org>2016-01-08 14:29:12 +1100
commit4626cbaf78767fc8e9c86dd04785386c59ae0839 (patch)
tree449a777d8781a7f88724cbec9a4717f5b3fe4ec6 /ssh-agent.c
parent422d1b3ee977ff4c724b597fb2e437d38fc8de9d (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 2048a11c4..6c50e0f03 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1417,6 +1417,7 @@ skip:
1417 1417
1418 if (pledge("stdio cpath unix id proc exec", NULL) == -1) 1418 if (pledge("stdio cpath unix id proc exec", NULL) == -1)
1419 fatal("%s: pledge: %s", __progname, strerror(errno)); 1419 fatal("%s: pledge: %s", __progname, strerror(errno));
1420 platform_pledge_agent();
1420 1421
1421 while (1) { 1422 while (1) {
1422 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp); 1423 prepare_select(&readsetp, &writesetp, &max_fd, &nalloc, &tvp);