artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23f411e
)
must also pledge "getpw", because it will use getpw* and getgr* functions.
author
deraadt
<deraadt@openbsd.org>
Sat, 10 Oct 2015 14:33:02 +0000
(14:33 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sat, 10 Oct 2015 14:33:02 +0000
(14:33 +0000)
discussed with doug and semarie
usr.bin/getent/getent.c
patch
|
blob
|
history
diff --git
a/usr.bin/getent/getent.c
b/usr.bin/getent/getent.c
index
6bbf831
..
aa60ee1
100644
(file)
--- a/
usr.bin/getent/getent.c
+++ b/
usr.bin/getent/getent.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: getent.c,v 1.1
0 2015/10/10 05:26:57 doug Exp $
*/
+/* $OpenBSD: getent.c,v 1.1
1 2015/10/10 14:33:02 deraadt Exp $
*/
/* $NetBSD: getent.c,v 1.7 2005/08/24 14:31:02 ginsbach Exp $ */
/*-
@@
-95,7
+95,7
@@
main(int argc, char *argv[])
{
struct getentdb *curdb;
- if (pledge("stdio dns rpath", NULL) == -1)
+ if (pledge("stdio dns rpath
getpw
", NULL) == -1)
err(1, "pledge");
if (argc < 2)