diff options
| author | Morgan Jones <me@numin.it> | 2025-04-11 01:06:05 -0700 |
|---|---|---|
| committer | Morgan Jones <me@numin.it> | 2025-04-15 01:04:35 -0700 |
| commit | 2b75b132a19c8d783b8c6faccd855c5dda3d9bef (patch) | |
| tree | e5cec46b8c49ebb77ab88c88b234064e5adc9c59 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | c722a577127d5b474723c6c96be73b5d4173284c (diff) | |
openssh: enable --with-linux-memlock-onfault
This new configure option attempts to call the following as part of sshd
startup, simply warning if it fails:
`mlockall(MCL_CURRENT | MCL_FUTURE | MCL_ONFAULT)`
From https://man7.org/linux/man-pages/man2/mlock.2.html:
> Since Linux 2.6.9, no limits are placed on the amount of memory
> that a privileged process can lock and the RLIMIT_MEMLOCK soft
> resource limit instead defines a limit on how much memory an
> unprivileged process may lock.
Since sshd is run as root, locking all current and future pages
also will not run into hypothetical OOM issues.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
