summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2015-12-02 08:00:58 +0000
committerDamien Miller <djm@mindrot.org>2015-12-04 15:14:58 +1100
commita90d001543f46716b6590c6dcc681d5f5322f8cf (patch)
treeccc43bbdbefc856a029c4e7fefd23f1006d53759 /ssh-agent.c
parentd952162b3c158a8f23220587bb6c8fcda75da551 (diff)
upstream commit
ssh-agent pledge needs proc for askpass; spotted by todd@ Upstream-ID: 349aa261b29cc0e7de47ef56167769c432630b2a
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 38879335d..8a075cbb4 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh-agent.c,v 1.205 2015/12/01 23:29:24 djm Exp $ */ 1/* $OpenBSD: ssh-agent.c,v 1.206 2015/12/02 08:00:58 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1402,7 +1402,7 @@ skip:
1402 signal(SIGTERM, cleanup_handler); 1402 signal(SIGTERM, cleanup_handler);
1403 nalloc = 0; 1403 nalloc = 0;
1404 1404
1405 if (pledge("stdio unix exec", NULL) != 0) 1405 if (pledge("stdio unix exec proc", NULL) != 0)
1406 fatal("%s: pledge: %s", __progname, strerror(errno)); 1406 fatal("%s: pledge: %s", __progname, strerror(errno));
1407 1407
1408 while (1) { 1408 while (1) {