summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2018-07-18 14:06:30 +0000
committerjmc <jmc@openbsd.org>2018-07-18 14:06:30 +0000
commitcf437a96565e5e87ab3471d5f025776292c8b67d (patch)
tree220d2e3c666724e6987eb4c38dddc91858a8c746
parentWhen running flood ping with count packets (-c) set an alarm after (diff)
downloadwireguard-openbsd-cf437a96565e5e87ab3471d5f025776292c8b67d.tar.xz
wireguard-openbsd-cf437a96565e5e87ab3471d5f025776292c8b67d.zip
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