summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2023-05-19 01:12:24 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2023-05-19 01:12:24 +0000
commit7e4ff845d817668078117877422a947c85db712b (patch)
treea9fb4fc42faf47b0e9151912140b897d75ec82ab /lib
parent195e450bddd093cbc2cc085e8a37a440c09e3045 (diff)
Since waitid(2) shares code with wait4(2) and doesn't expose any
non-trivial new information or code-paths over wait4(), include it in pledge("stdio") discussed with deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/pledge.25
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/sys/pledge.2 b/lib/libc/sys/pledge.2
index 1b6ec00a332..678396c5c25 100644
--- a/lib/libc/sys/pledge.2
+++ b/lib/libc/sys/pledge.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pledge.2,v 1.64 2022/07/17 03:12:55 deraadt Exp $
+.\" $OpenBSD: pledge.2,v 1.65 2023/05/19 01:12:23 guenther Exp $
.\"
.\" Copyright (c) 2015 Nicholas Marriott <nicm@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: July 17 2022 $
+.Dd $Mdocdate: May 19 2023 $
.Dt PLEDGE 2
.Os
.Sh NAME
@@ -227,6 +227,7 @@ As a result, all the expected functionalities of libc stdio work.
.Xr socketpair 2 ,
.Xr umask 2 ,
.Xr wait4 2 ,
+.Xr waitid 2 ,
.Xr write 2 ,
.Xr writev 2
.It Cm rpath