[Bug 3291] support process_extended_limits() only if HAVE_GETRLIMIT is set

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Wed Apr 7 08:49:27 AEST 2021


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

--- Comment #2 from balu <balu.gajjala at gmail.com> ---
Thanks for your reply.
I saw your commit f283a6c2e.

one comment, 
ifdef HAVE_GETRLIMIT should be moved before struct rlimit rlim;

After this change, on the machines where the rlimit is not supported,
the nfiles (max-open-handles) will be sent as 0. How will the sftp
client behave when sftp-server sends nfiles as 0?

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list