summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormiko <miko@openbsd.org>2018-09-26 02:54:34 +0000
committermiko <miko@openbsd.org>2018-09-26 02:54:34 +0000
commitd797cbea693ef91067ca57d4feae5f92464baca2 (patch)
treedbfa591ed1757442d94f5a0cb986df1f80fa88ca /lib/libc
parents/process_mux_master/mux_master_process/ in mux master function names, (diff)
downloadwireguard-openbsd-d797cbea693ef91067ca57d4feae5f92464baca2.tar.xz
wireguard-openbsd-d797cbea693ef91067ca57d4feae5f92464baca2.zip
align RETURN VALUES section with pledge manual; ok deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/unveil.27
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/sys/unveil.2 b/lib/libc/sys/unveil.2
index 8a2f4ce1500..cc5e91d10bf 100644
--- a/lib/libc/sys/unveil.2
+++ b/lib/libc/sys/unveil.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: unveil.2,v 1.9 2018/07/30 15:21:36 deraadt Exp $
+.\" $OpenBSD: unveil.2,v 1.10 2018/09/26 02:54:34 miko 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 30 2018 $
+.Dd $Mdocdate: September 26 2018 $
.Dt UNVEIL 2
.Os
.Sh NAME
@@ -134,8 +134,7 @@ of the interfaces called.
In most cases it is best practice to unveil the directories
in which an application makes use of files.
.Sh RETURN VALUES
-.Fn unveil
-returns 0 on success or -1 on failure.
+.Rv -std
.Sh ERRORS
.Bl -tag -width Er
.It E2BIG