summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2018-07-18 14:06:31 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2018-07-18 14:06:31 +0000
commit02a874d492963e77b96a212de341b4b30fd62a52 (patch)
tree1dd1a7a25d2051fdd9f313cdc51d647d9bd3dbfb
parentdf669b2b4681aed7ff3ef5469f9c04f23e2d8262 (diff)
tidy up the flags section a little: supply a little more indent, and reduce
the amount of modal verbs going on;
-rw-r--r--lib/libc/sys/unveil.228
1 files changed, 16 insertions, 12 deletions
diff --git a/lib/libc/sys/unveil.2 b/lib/libc/sys/unveil.2
index 4be65d187da..c0067fde68d 100644
--- a/lib/libc/sys/unveil.2
+++ b/lib/libc/sys/unveil.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unveil.2,v 1.3 2018/07/16 12:02:45 espie Exp $
+.\" $OpenBSD: unveil.2,v 1.4 2018/07/18 14:06:30 jmc 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 16 2018 $
+.Dd $Mdocdate: July 18 2018 $
.Dt UNVEIL 2
.Os
.Sh NAME
@@ -56,33 +56,37 @@ to remove the "unveil" permission.
.Pp
The
.Fa flags
-argument points to a string consisting of the following characters.
+argument points to a string consisting of the following characters:
.Pp
-.Bl -tag -width c -offset indent -compact
+.Bl -tag -width "XXXX" -offset indent -compact
.It Dv r
+make
.Ar path
-should be made available for read operations corresponding to
+available for read operations, corresponding to the
.Xr pledge 2
promise
-.Ar rpath .
+.Ar rpath
.It Dv w
+make
.Ar path
-should be available for write operations corresponding to
+available for write operations, corresponding to the
.Xr pledge 2
promise
-.Ar wpath .
+.Ar wpath
.It Dv x
+make
.Ar path
-should be available for execute operations corresponding to
+available for execute operations, corresponding to the
.Xr pledge 2
promise
-.Ar exec .
+.Ar exec
.It Dv c
+allow
.Ar path
-should be allowed to be created and removed, corresponding to
+to be created and removed, corresponding to the
.Xr pledge 2
promise
-.Ar cpath .
+.Ar cpath
.El
.Pp
A