Date: Thu, 23 Jul 2026 10:00:46 +0000 From: Olivier Certner <olce@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: e886baa0f124 - stable/14 - chroot.2: "filedescriptors" => "file descriptors" Message-ID: <6a61e64e.3bcbe.3387829@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch stable/14 has been updated by olce: URL: https://cgit.FreeBSD.org/src/commit/?id=e886baa0f1240617e5475e79bd0e762c44b913ce commit e886baa0f1240617e5475e79bd0e762c44b913ce Author: Olivier Certner <olce@FreeBSD.org> AuthorDate: 2026-04-27 10:16:30 +0000 Commit: Olivier Certner <olce@FreeBSD.org> CommitDate: 2026-07-23 09:59:06 +0000 chroot.2: "filedescriptors" => "file descriptors" "filedescriptors" is the odd one out when looking at other manual pages. MFC after: 3 days Sponsored by: The FreeBSD Foundation (cherry picked from commit 4c6d8aa069f2ac22f801fa69add61085631b3356) --- lib/libc/sys/chroot.2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/sys/chroot.2 b/lib/libc/sys/chroot.2 index fa206d04d4fc..c5d2ff3aac73 100644 --- a/lib/libc/sys/chroot.2 +++ b/lib/libc/sys/chroot.2 @@ -25,7 +25,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd August 2, 2025 +.Dd April 27, 2026 .Dt CHROOT 2 .Os .Sh NAME @@ -67,7 +67,7 @@ and the process has enabled the .Pp Depending on the setting of the .Ql kern.chroot_allow_open_directories -sysctl variable, open filedescriptors which reference directories +sysctl variable, open file descriptors which reference directories will make the .Fn chroot fail as follows: @@ -115,7 +115,7 @@ process has not enabled the .Dv PROC_NO_NEW_PRIVS_CTL .Xr procctl 2 . .It Bq Er EPERM -One or more filedescriptors are open directories and the +One or more file descriptors are open directories and the .Ql Va kern.chroot_allow_open_directories sysctl is not set to permit this. .It Bq Er EIOhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a61e64e.3bcbe.3387829>
