From: Cristian Rodríguez Date: Fri, 9 Jul 2021 21:19:05 +0000 (-0400) Subject: malloc() uses getrandom now X-Git-Tag: v247.9~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=635fc3b66838e6f5af4837056d79fadbcd6541f4;p=thirdparty%2Fsystemd.git malloc() uses getrandom now glibc master uses getrandom in malloc since https://sourceware.org/git/?p=glibc.git;a=commit;h=fc859c304898a5ec72e0ba5269ed136ed0ea10e1 , getrandom should be in the default set so to avoid all non trivial programs to fallback to a PRNG. (cherry picked from commit 14f4b1b568907350d023d1429c1aa4aaa8925f22) (cherry picked from commit 1253d18af7449814bc882506b0fe3770311b3bc0) (cherry picked from commit 381149c6e265a4e44cfe2bbba6a3cae2782874bd9) --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index b880b8ddabf..1b6177b4127 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -309,6 +309,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { "getpgrp\0" "getpid\0" "getppid\0" + "getrandom\0" "getresgid\0" "getresgid32\0" "getresuid\0"