diff options
author | ru <ru@FreeBSD.org> | 2003-05-22 13:02:28 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2003-05-22 13:02:28 +0000 |
commit | 9bcac8799e0fa205ce0aab2815e1934c1c7fb3ad (patch) | |
tree | 9e88a547c7f774cc6533ee481e3c36d66be24d9d /lib/libc/sys/jail.2 | |
parent | facfefd3157b88295a26cb3e98f18947c2ab4b78 (diff) | |
download | FreeBSD-src-9bcac8799e0fa205ce0aab2815e1934c1c7fb3ad.zip FreeBSD-src-9bcac8799e0fa205ce0aab2815e1934c1c7fb3ad.tar.gz |
Assorted mdoc(7) fixes.
Approved by: re (blanket)
Diffstat (limited to 'lib/libc/sys/jail.2')
-rw-r--r-- | lib/libc/sys/jail.2 | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2 index 288f30d..3e21627 100644 --- a/lib/libc/sys/jail.2 +++ b/lib/libc/sys/jail.2 @@ -12,7 +12,7 @@ .Dt JAIL 2 .Os .Sh NAME -.Nm jail +.Nm jail , jail_attach .Nd imprison current process and future decendants .Sh LIBRARY .Lb libc @@ -59,21 +59,16 @@ The .Fn jail_attach system call attaches the current process to an existing jail, identified by -.Va jid . +.Fa jid . .Sh RETURN VALUES If successful, .Fn jail returns a non-negative integer, termed the jail identifier (JID). -It returns -1 on failure, and sets +It returns \-1 on failure, and sets .Va errno to indicate the error. .Pp -If successful, -.Fn jail_attach -returns 0. -It returns -1 on failure, and sets -.Va errno -to indicate the error. +.Rv -std jail_attach .Sh PRISON? Once a process has been put in a prison, it and its decendants cannot escape the prison. |