summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorse <se@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-30 19:37:53 +0000
committerse <se@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>2020-10-30 19:37:53 +0000
commitfec3a971ea8686bc268d640568df8a0fc57362b8 (patch)
tree37db063a8d5090555cb168375883e63b2f3445aa
parent888195830d410cf1d9e380e34185c25252274e08 (diff)
downloadfreebsd-fec3a971ea8686bc268d640568df8a0fc57362b8.tar.gz
freebsd-fec3a971ea8686bc268d640568df8a0fc57362b8.tar.bz2
Update man-pages to describe the user.localbase variable added in r367179.
MFC after: 3 days git-svn-id: http://svn.freebsd.org/base/head@367184 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
-rw-r--r--lib/libc/gen/sysctl.36
-rw-r--r--sbin/sysctl/sysctl.83
2 files changed, 7 insertions, 2 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3
index f383d61c36e..c8f1430656a 100644
--- a/lib/libc/gen/sysctl.3
+++ b/lib/libc/gen/sysctl.3
@@ -28,7 +28,7 @@
.\" @(#)sysctl.3 8.4 (Berkeley) 5/9/95
.\" $FreeBSD$
.\"
-.Dd March 22, 2019
+.Dd October 30, 2020
.Dt SYSCTL 3
.Os
.Sh NAME
@@ -654,6 +654,7 @@ privilege may change the value.
.It Dv USER_CS_PATH Ta string Ta no
.It Dv USER_EXPR_NEST_MAX Ta integer Ta no
.It Dv USER_LINE_MAX Ta integer Ta no
+.It Dv USER_LOCALBASE Ta string Ta no
.It Dv USER_POSIX2_CHAR_TERM Ta integer Ta no
.It Dv USER_POSIX2_C_BIND Ta integer Ta no
.It Dv USER_POSIX2_C_DEV Ta integer Ta no
@@ -699,6 +700,9 @@ utility.
.It Li USER_LINE_MAX
The maximum length in bytes of a text-processing utility's input
line.
+.It Li USER_LOCALBASE
+Return the value of localbase that has been compiled into system utilities
+that need to have access to resources provided by a port or package.
.It Li USER_POSIX2_CHAR_TERM
Return 1 if the system supports at least one terminal type capable of
all operations described in
diff --git a/sbin/sysctl/sysctl.8 b/sbin/sysctl/sysctl.8
index 9709a90a2fc..eece6d8b7f7 100644
--- a/sbin/sysctl/sysctl.8
+++ b/sbin/sysctl/sysctl.8
@@ -28,7 +28,7 @@
.\" From: @(#)sysctl.8 8.1 (Berkeley) 6/6/93
.\" $FreeBSD$
.\"
-.Dd August 22, 2020
+.Dd October 30, 2020
.Dt SYSCTL 8
.Os
.Sh NAME
@@ -256,6 +256,7 @@ String and integer values can be set using
.It "user.posix2_upe integer no"
.It "user.stream_max integer no"
.It "user.tzname_max integer no"
+.It "user.localbase string no"
.El
.Sh FILES
.Bl -tag -width ".In netinet/icmp_var.h" -compact