summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorjamie <jamie@FreeBSD.org>2012-02-08 23:34:47 +0000
committerjamie <jamie@FreeBSD.org>2012-02-08 23:34:47 +0000
commitb4a5c1a064c98334f494dc7c37e42d5cff057772 (patch)
treeb38320835d99be93af1d2aaafd57a5786222d27c /lib/libc
parent322f330b9214ae7d4356e7d66d3f1970ab7c74cd (diff)
downloadFreeBSD-src-b4a5c1a064c98334f494dc7c37e42d5cff057772.zip
FreeBSD-src-b4a5c1a064c98334f494dc7c37e42d5cff057772.tar.gz
Acknowledge that jail_attach and jail_remove can return EPERM.
MFC after: 1 week
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/jail.24
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/sys/jail.2 b/lib/libc/sys/jail.2
index bf6218c..119cd61 100644
--- a/lib/libc/sys/jail.2
+++ b/lib/libc/sys/jail.2
@@ -25,7 +25,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 23, 2009
+.Dd February 8, 2012
.Dt JAIL 2
.Os
.Sh NAME
@@ -400,6 +400,8 @@ and
system calls
will fail if:
.Bl -tag -width Er
+.It Bq Er EPERM
+A user other than the super-user attempted to attach to or remove a jail.
.It Bq Er EINVAL
The jail specified by
.Fa jid
OpenPOWER on IntegriCloud