1
0
mirror of https://github.com/openbsd/src.git synced 2026-06-18 15:23:33 +02:00

document EACESS if __pledge_open() in /usr/share/zoneinfo terminates

on a non-regular file
ok dgl
This commit is contained in:
deraadt
2026-05-21 02:22:18 +00:00
parent f06abd977f
commit 830cbda00a
+8 -2
View File
@@ -1,4 +1,4 @@
.\" $OpenBSD: open.2,v 1.61 2026/05/15 04:55:45 jsg Exp $
.\" $OpenBSD: open.2,v 1.62 2026/05/21 02:22:18 deraadt Exp $
.\" $NetBSD: open.2,v 1.8 1995/02/27 12:35:14 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)open.2 8.2 (Berkeley) 11/16/93
.\"
.Dd $Mdocdate: May 15 2026 $
.Dd $Mdocdate: May 21 2026 $
.Dt OPEN 2
.Os
.Sh NAME
@@ -445,6 +445,12 @@ argument is
and is a symbolic link, but does not point into
.Pa /usr/share/zoneinfo
correctly.
.It Bq Er EACESS
The
.Fa path
argument starts with
.Pa /usr/share/zoneinfo
and does not name a regular file.
.It Bq Er ELOOP
The
.Fa path