]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream commit
authordjm@openbsd.org <djm@openbsd.org>
Wed, 2 Dec 2015 08:00:58 +0000 (08:00 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 4 Dec 2015 04:14:58 +0000 (15:14 +1100)
ssh-agent pledge needs proc for askpass; spotted by todd@

Upstream-ID: 349aa261b29cc0e7de47ef56167769c432630b2a

ssh-agent.c

index 38879335d26f745bc59278bfed235f6058b89764..8a075cbb4b6d1b655def27631f6ceff0da7ca212 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.205 2015/12/01 23:29:24 djm Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.206 2015/12/02 08:00:58 djm Exp $ */
 /*
  * Author: Tatu Ylonen <ylo@cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1402,7 +1402,7 @@ skip:
        signal(SIGTERM, cleanup_handler);
        nalloc = 0;
 
-       if (pledge("stdio unix exec", NULL) != 0)
+       if (pledge("stdio unix exec proc", NULL) != 0)
                fatal("%s: pledge: %s", __progname, strerror(errno));
 
        while (1) {