[openssh-commits] [openssh] branch V_10_4 updated: allow madvise(..., MADV_DONTNEED_LOCKED)
git+noreply at mindrot.org
git+noreply at mindrot.org
Sat Sep 19 01:54:53 AEST 2026
This is an automated email from the git hooks/post-receive script.
dtucker pushed a commit to branch V_10_4
in repository openssh.
The following commit(s) were added to refs/heads/V_10_4 by this push:
new b909941ca allow madvise(..., MADV_DONTNEED_LOCKED)
b909941ca is described below
commit b909941ca6409406f1a60862c0eeffea1ce2e2cf
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Tue Sep 15 15:37:02 2026 +1000
allow madvise(..., MADV_DONTNEED_LOCKED)
allow MADV_DONTNEED_LOCKED in the seccomp sandbox; needed by GrapheneOS'
hardened allocator. bz4001
---
sandbox-seccomp-filter.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c
index bf753eef2..b49d0286e 100644
--- a/sandbox-seccomp-filter.c
+++ b/sandbox-seccomp-filter.c
@@ -346,6 +346,9 @@ static const struct sock_filter preauth_insns[] = {
# ifdef MADV_DONTNEED
SC_ALLOW_ARG(__NR_madvise, 2, MADV_DONTNEED),
# endif
+# ifdef MADV_DONTNEED_LOCKED
+ SC_ALLOW_ARG(__NR_madvise, 2, MADV_DONTNEED_LOCKED),
+# endif
# ifdef MADV_DONTFORK
SC_ALLOW_ARG(__NR_madvise, 2, MADV_DONTFORK),
# endif
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list