[Bug 280809] jail_attach(2) fails to document reason for EPERM
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 280809] jail_attach(2) fails to document reason for EPERM"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 18 Sep 2025 08:53:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280809
--- Comment #7 from commit-hook@FreeBSD.org ---
A commit in branch stable/15 references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=7140f620a5695b023e76e482dab50133479f0a0b
commit 7140f620a5695b023e76e482dab50133479f0a0b
Author: Olivier Certner <olce@FreeBSD.org>
AuthorDate: 2025-09-01 09:31:23 +0000
Commit: Olivier Certner <olce@FreeBSD.org>
CommitDate: 2025-09-18 08:50:31 +0000
jail.2: Mention EPERM is returned on open directories
The manual page does not directly mention this reason for getting EPERM,
instead referring the reader to chroot(2). We have had some questions
about it recently, in part due to a bug (fixed), and this case is not an
obvious permission/problem, so let's be more explicit.
PR: 280809
Reviewed by: jamie
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52319
(cherry picked from commit ef2f36be8fce8cf7a62ce7d33ab1c4a181fac3e2)
lib/libsys/jail.2 | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
--
You are receiving this mail because:
You are on the CC list for the bug.