[Bug 3349] Test sshd in chroot fails when syscall close_range is undefined and openssh is built with glibc 2.34
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Sep 23 21:26:36 AEST 2021
https://bugzilla.mindrot.org/show_bug.cgi?id=3349
--- Comment #3 from Florian Weimer <fweimer at redhat.com> ---
Does closefrom actually return in your test, or does it crash the
process?
It is impossible to implement closefrom emulation on Linux without
access to /proc: the descriptor range is not constrained by rlimit and
can theoretically extend up to INT_MAX. If you want something that does
not terminate the process, you need to call close_range and perform
your own emulation instead.
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list