summaryrefslogtreecommitdiff
path: root/lib/libc/sys
diff options
context:
space:
mode:
authorDoug Hogan <doug@cvs.openbsd.org>2015-08-26 05:20:07 +0000
committerDoug Hogan <doug@cvs.openbsd.org>2015-08-26 05:20:07 +0000
commit19c28350e80ec9d7c7aa28f91afd35216e7cc01c (patch)
treed96b36f5d05a122f2685b66a0463a1551f3ad138 /lib/libc/sys
parentcef978ebdb4e317f900661a5bc177214d21e070c (diff)
Convert paths argument of tame(2) to const char **.
The path will not be modified and this reduces casts. Discussed with many. ok deraadt@
Diffstat (limited to 'lib/libc/sys')
-rw-r--r--lib/libc/sys/tame.26
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/tame.2 b/lib/libc/sys/tame.2
index 0e3ebe7b75f..6551525e7ec 100644
--- a/lib/libc/sys/tame.2
+++ b/lib/libc/sys/tame.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tame.2,v 1.17 2015/08/22 20:18:50 deraadt Exp $
+.\" $OpenBSD: tame.2,v 1.18 2015/08/26 05:20:06 doug Exp $
.\"
.\" Copyright (c) 2015 Nicholas Marriott <nicm@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: August 22 2015 $
+.Dd $Mdocdate: August 26 2015 $
.Dt TAME 2
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.In sys/tame.h
.Ft int
-.Fn tame "int flags" "char *paths[]"
+.Fn tame "int flags" "const char *paths[]"
.Sh DESCRIPTION
The current process is forced into a restricted-service operating mode.
A few subsets are available, roughly described as computation, memory