summaryrefslogtreecommitdiffstats
path: root/usr.sbin/cron/crontab.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2015-10-29 22:46:31 +0000
committermillert <millert@openbsd.org>2015-10-29 22:46:31 +0000
commitc6653d8e43957d6324c4e6257c54450b9778076f (patch)
tree0426be1cc6615e5d16b6892cd078d6fae1701a7d /usr.sbin/cron/crontab.c
parentUse stravis(3) instead of a homegrown vis-like function. (diff)
downloadwireguard-openbsd-c6653d8e43957d6324c4e6257c54450b9778076f.tar.xz
wireguard-openbsd-c6653d8e43957d6324c4e6257c54450b9778076f.zip
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);