summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2016-06-15 01:49:01 +0000
committerjamie <jamie@FreeBSD.org>2016-06-15 01:49:01 +0000
commitbf0749f11aeebf179f7e14eb7df95a6fb4652280 (patch)
tree71b33bb8a2926bbcd705267bb8f8c7f3ae05b895 /lib
parentcf6318f45a69717b15a12880a76c711a371c1f45 (diff)
downloadFreeBSD-src-bf0749f11aeebf179f7e14eb7df95a6fb4652280.zip
FreeBSD-src-bf0749f11aeebf179f7e14eb7df95a6fb4652280.tar.gz
MFC r300983:
Mark jail(2), and the sysctls that it (and only it) uses as deprecated. jail(8) has long used jail_set(2), and those sysctl only cause confusion.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/jail.22
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index a2d692a..df19e49 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -106,7 +106,7 @@ pointers can be set to an arrays of IPv4 and IPv6 addresses to be assigned to
the prison, or NULL if none.
IPv4 addresses must be in network byte order.
.Pp
-This is equivalent to the
+This is equivalent to, and deprecated in favor of, the
.Fn jail_set
system call (see below), with the parameters
.Va path ,
OpenPOWER on IntegriCloud