aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJamie Gritton <jamie@FreeBSD.org>2021-02-19 22:13:35 +0000
committerJamie Gritton <jamie@FreeBSD.org>2021-02-19 22:13:35 +0000
commitd4380c0cdd0517dc038403dd5c99242ce78bdeb5 (patch)
tree7a3e2496b46683bb7ce41e27c65d3b3c77edd1ad /lib
parent0f9544d03e89d180f94a7a84b110ec7d2b6c625a (diff)
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/jail.25
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index 2e13a6c3a381..82c2e97d4a7b 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 8, 2012
+.Dd February 19, 2021
.Dt JAIL 2
.Os
.Sh NAME
@@ -228,6 +228,9 @@ The
system call attaches the current process to an existing jail,
identified by
.Fa jid .
+It changes the process's root and current directories to the jail's
+.Va path
+directory.
.Pp
The
.Fn jail_remove