From: deraadt Date: Thu, 2 Sep 2021 06:23:32 +0000 (+0000) Subject: some functionality requires pledge "proc" X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d2e9d22c527f6af6681c6433d1c66c260eb237cf;p=openbsd some functionality requires pledge "proc" --- diff --git a/usr.bin/timeout/timeout.c b/usr.bin/timeout/timeout.c index cf33ecf0f13..5badf7702ec 100644 --- a/usr.bin/timeout/timeout.c +++ b/usr.bin/timeout/timeout.c @@ -1,4 +1,4 @@ -/* $OpenBSD: timeout.c,v 1.12 2021/09/01 21:45:10 job Exp $ */ +/* $OpenBSD: timeout.c,v 1.13 2021/09/02 06:23:32 deraadt Exp $ */ /* $NetBSD: timeout.c,v 1.4 2014/08/05 08:20:02 christos Exp $ */ /* @@ -256,7 +256,7 @@ main(int argc, char **argv) err(1, "execvp"); } - if (pledge("stdio", NULL) == -1) + if (pledge("stdio proc", NULL) == -1) err(1, "pledge"); if (sigprocmask(SIG_BLOCK, &signals.sa_mask, NULL) == -1)