From d2e9d22c527f6af6681c6433d1c66c260eb237cf Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 2 Sep 2021 06:23:32 +0000 Subject: [PATCH] some functionality requires pledge "proc" --- usr.bin/timeout/timeout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.20.1