[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
Fri Oct 8 13:26:57 AEDT 2021


--- Comment #4 from Darren Tucker <dtucker at dtucker.net> ---
(In reply to Florian Weimer from comment #3)
> Does closefrom actually return in your test, or does it crash the
> process?

Based on the glibc sources it looks like it throws an error and
terminates due to FORTIFY_SOURCE:

__closefrom (int lowfd)
  int maxfd = __getdtablesize ();
  if (maxfd == -1)
    __fortify_fail ("closefrom failed to get the file descriptor table

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