summaryrefslogtreecommitdiff
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-10-29 22:46:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-10-29 22:46:32 +0000
commite47c16c665b7223ed3b2b4947a30a0269b1a6467 (patch)
tree941dcdc8d8659dde7721748febfcbd790f149920 /usr.sbin/cron/crontab.c
parentee793cc017e6aad1515ceac316bf7e3d12b8e2de (diff)
crontab needs "proc" for fork(2)
Diffstat (limited to 'usr.sbin/cron/crontab.c')
-rw-r--r--usr.sbin/cron/crontab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/cron/crontab.c b/usr.sbin/cron/crontab.c
index 77ce0a70d0e..4865e5ffcf3 100644
--- a/usr.sbin/cron/crontab.c
+++ b/usr.sbin/cron/crontab.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: crontab.c,v 1.75 2015/10/28 20:17:31 deraadt Exp $ */
+/* $OpenBSD: crontab.c,v 1.76 2015/10/29 22:46:31 millert Exp $ */
/* Copyright 1988,1990,1993,1994 by Paul Vixie
* Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
@@ -68,7 +68,7 @@ main(int argc, char *argv[])
Pid = getpid();
ProgramName = argv[0];
- if (pledge("stdio rpath wpath cpath fattr getpw unix flock id",
+ if (pledge("stdio rpath wpath cpath fattr getpw unix flock proc id",
NULL) == -1) {
log_it(RealUser, getpid(), "pledge", strerror(errno));
exit(1);