diff options
| author | Jordan R Abrahams-Whitehead <ajordanr@google.com> | 2024-01-02 23:03:40 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-01-20 12:43:18 +0000 |
| commit | 752ca84030b7d7572d95527395e91e711fe561bb (patch) | |
| tree | 638a897d0e3a921c48bc673180f986d087706be7 /dev-cpp/cpp-httplib | |
| parent | d2cfc8a6e4904941e59c7949815be57744c72adb (diff) | |
| download | gentoo-752ca84030b7d7572d95527395e91e711fe561bb.tar.gz gentoo-752ca84030b7d7572d95527395e91e711fe561bb.tar.bz2 gentoo-752ca84030b7d7572d95527395e91e711fe561bb.zip | |
net-misc/openssh: Allow MAP_NORESERVE in sandbox seccomp filter maps
MAP_NORESERVE is used in certain memory patterns in Scudo
where we want to mmap chunks of memory without reserving swap space.
We use this to avoid hitting address space limits.
However, OpenSSH's client sandbox is quite restrictive on which MMAP
flags are allowed (understandably so), and it currently does not
allow MAP_NORESERVE to be used.
This commit allows us to call MAP_NORESERVE from the client sandbox
process.
Upstream patch submission:
https://lists.mindrot.org/pipermail/openssh-unix-dev/2023-December/041095.html
Signed-off-by: Jordan R Abrahams-Whitehead <ajordanr@google.com>
Closes: https://github.com/gentoo/gentoo/pull/34610
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/cpp-httplib')
0 files changed, 0 insertions, 0 deletions
