https://bugzilla.mindrot.org/show_bug.cgi?id=3349

--- Comment #3 from Florian Weimer <[email protected]> ---
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to