From 830cbda00a9b817d90eb0ed2c24794e96d258a05 Mon Sep 17 00:00:00 2001 From: deraadt Date: Thu, 21 May 2026 02:22:18 +0000 Subject: [PATCH] document EACESS if __pledge_open() in /usr/share/zoneinfo terminates on a non-regular file ok dgl --- lib/libc/sys/open.2 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index f65b184b581..c4b28657079 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -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