diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-25 09:39:01 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2015-10-25 09:39:01 +0000 |
commit | a0d7dd9f3d293fc029c163cedb190cff0e64d999 (patch) | |
tree | be031f1717d3bc1af2abf03efce0c5078607a2ab /bin | |
parent | 8bc1d31248382ee8e26bcb876ccdf392aa5c43f7 (diff) |
need "getpw" pledge; spotted by matthieu
Diffstat (limited to 'bin')
-rw-r--r-- | bin/ps/ps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ps/ps.c b/bin/ps/ps.c index 396420e9d3e..2e1fc723e0c 100644 --- a/bin/ps/ps.c +++ b/bin/ps/ps.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ps.c,v 1.66 2015/10/23 03:26:24 deraadt Exp $ */ +/* $OpenBSD: ps.c,v 1.67 2015/10/25 09:39:00 deraadt Exp $ */ /* $NetBSD: ps.c,v 1.15 1995/05/18 20:33:25 mycroft Exp $ */ /*- @@ -278,7 +278,7 @@ main(int argc, char *argv[]) if (kd == NULL) errx(1, "%s", errbuf); - if (pledge("stdio rpath ps", NULL) == -1) + if (pledge("stdio rpath getpw ps", NULL) == -1) err(1, "abort pledge"); if (!fmt) { |