mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-11-07 04:36:52 -10:00
chroot.2: document EPERM for shared pwd
Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D60963
This commit is contained in:
1 parent
e95e010fd0
commit
aff8d265fa
1 file changed
+5
@@ -126,6 +126,11 @@ process has not enabled the
|
||||
.Dv PROC_NO_NEW_PRIVS_CTL
|
||||
.Xr procctl 2 .
|
||||
.It Bq Er EPERM
|
||||
The effective user ID is not the super-user and the
|
||||
current/root directory state of the process is shared with
|
||||
another process, see
|
||||
.Xr rfork 2 .
|
||||
.It Bq Er EPERM
|
||||
One or more file descriptors are open directories and the
|
||||
.Ql Va kern.chroot_allow_open_directories
|
||||
sysctl is not set to permit this.
|
||||
|
||||
Reference in new issue
Block a user