summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2019-12-06 00:14:08 +0000
committerschwarze <schwarze@openbsd.org>2019-12-06 00:14:08 +0000
commit5782eabee9bebe6c4626ceae9d997c662415d9ca (patch)
tree004fe90ab3e2f8a9a6f6c9c64fad1011ad5ff03e /lib/libc
parent- fix some Xr; from martin (diff)
downloadwireguard-openbsd-5782eabee9bebe6c4626ceae9d997c662415d9ca.tar.xz
wireguard-openbsd-5782eabee9bebe6c4626ceae9d997c662415d9ca.zip
Explicitly say that *permissions can be "".
Potential for misunderstanding noticed by Chris Rawnsley <chris at puny dot agency>, wording proposed by deraadt@, patch sent by Chris Rawnsley, OK deraadt@.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/unveil.27
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libc/sys/unveil.2 b/lib/libc/sys/unveil.2
index 7fff3a0343c..28240cae74e 100644
--- a/lib/libc/sys/unveil.2
+++ b/lib/libc/sys/unveil.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unveil.2,v 1.19 2019/07/25 13:47:40 schwarze Exp $
+.\" $OpenBSD: unveil.2,v 1.20 2019/12/06 00:14:08 schwarze Exp $
.\"
.\" Copyright (c) 2018 Bob Beck <beck@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 25 2019 $
+.Dd $Mdocdate: December 6 2019 $
.Dt UNVEIL 2
.Os
.Sh NAME
@@ -62,7 +62,8 @@ promise.
.Pp
The
.Fa permissions
-argument points to a string consisting of the following characters:
+argument points to a string consisting of zero or more of the following
+characters:
.Pp
.Bl -tag -width "XXXX" -offset indent -compact
.It Cm r