summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2019-12-06 00:14:09 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2019-12-06 00:14:09 +0000
commit869237f4e534100136162fe937b46d659e31af58 (patch)
treebe2e4ec52811432539d28da742a096ed1ba579dc /lib/libc/sys
parentc2b6b795c479c74c88f3de46ffdbb08aa475b874 (diff)
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/sys')
-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