This patch aligns unveil.2 with pledge.2, so the unveil manual
will explicitly mention errno is set. OK?


Index: unveil.2
===================================================================
RCS file: /cvs/src/lib/libc/sys/unveil.2,v
retrieving revision 1.9
diff -u -p -u -r1.9 unveil.2
--- unveil.2    30 Jul 2018 15:21:36 -0000      1.9
+++ unveil.2    25 Sep 2018 06:25:35 -0000
@@ -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

Reply via email to