From aed8797028174ab8ef056f3df9b11ccf098899d1 Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Wed, 17 Apr 1996 20:49:29 +0000 Subject: [PATCH] Document the possible EPERM return. Submitted by: imp@village.org (Warner Losh) --- lib/libc/sys/chroot.2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index d8763fe5dcf..af2ae3142a8 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -71,6 +71,8 @@ will fail and the root directory will be unchanged if: .Bl -tag -width [ENOTDIR] .It Bq Er ENOTDIR A component of the path name is not a directory. +.It Bq Er EPERM +The effective user ID is not the super-user. .It Bq Er EINVAL The pathname contains a character with the high-order bit set. .It Bq Er ENAMETOOLONG -- 2.45.2