search for: platform_pre_session_start

Displaying 1 result from an estimated 1 matches for "platform_pre_session_start".

2025 May 07
4
[Bug 3822] New: --with-linux-memlock-onfault causes segfaults with some combinations of PAM modules
...al to the process. I think this is probably because RLIMIT_MEMLOCK is typically not all that huge (8 MiB by default on Debian), and PAM modules, the libraries they depend on, and whatever memory they allocate on the stack might well exceed that. Commenting out the call to memlock_onfault_setup in platform_pre_session_start makes the segfaults go away. I tried just disabling MCL_FUTURE for the sshd-session process, but that didn't seem to help. Perhaps it would make sense to lock memory in the session process only once the session has been established (do_authenticated or server_loop2 or so)? By that point the...