summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2016-09-04 16:39:51 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2016-09-04 16:39:51 +0000
commit0f1fef9ba3e23f3391879a3197419c1841ac64d1 (patch)
treee26cd74adc64128a34e4ebbc8102bfc3dc6ebee2
parent0ecc5ccb703dd5dd5bbcaf84e2408c683ee6b957 (diff)
Add missing getpw pledge
ok deraadt
-rw-r--r--usr.bin/cvs/cvs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/cvs/cvs.c b/usr.bin/cvs/cvs.c
index 0802ec4d965..dc2836e6c0a 100644
--- a/usr.bin/cvs/cvs.c
+++ b/usr.bin/cvs/cvs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cvs.c,v 1.157 2015/11/19 17:44:01 deraadt Exp $ */
+/* $OpenBSD: cvs.c,v 1.158 2016/09/04 16:39:50 tb Exp $ */
/*
* Copyright (c) 2006, 2007 Joris Vink <joris@openbsd.org>
* Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org>
@@ -187,7 +187,7 @@ main(int argc, char **argv)
struct stat st;
char fpath[PATH_MAX];
- if (pledge("stdio rpath wpath cpath fattr proc exec", NULL) == -1)
+ if (pledge("stdio rpath wpath cpath fattr getpw proc exec", NULL) == -1)
err(1, "pledge");
tzset();