artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab85881
)
some functionality requires pledge "proc"
author
deraadt
<deraadt@openbsd.org>
Thu, 2 Sep 2021 06:23:32 +0000
(06:23 +0000)
committer
deraadt
<deraadt@openbsd.org>
Thu, 2 Sep 2021 06:23:32 +0000
(06:23 +0000)
usr.bin/timeout/timeout.c
patch
|
blob
|
history
diff --git
a/usr.bin/timeout/timeout.c
b/usr.bin/timeout/timeout.c
index
cf33ecf
..
5badf77
100644
(file)
--- a/
usr.bin/timeout/timeout.c
+++ b/
usr.bin/timeout/timeout.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: timeout.c,v 1.1
2 2021/09/01 21:45:10 job
Exp $ */
+/* $OpenBSD: timeout.c,v 1.1
3 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)