]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
malloc() uses getrandom now
authorCristian Rodríguez <crodriguez@owncloud.com>
Fri, 9 Jul 2021 21:19:05 +0000 (17:19 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 23 Jul 2021 10:24:57 +0000 (12:24 +0200)
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.

src/shared/seccomp-util.c

index e0f88aec73a556b804835ee1e91787f524b723eb..cad0af89f263f549d295006c85ba639d44a3d968 100644 (file)
@@ -310,6 +310,7 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = {
                 "getpgrp\0"
                 "getpid\0"
                 "getppid\0"
+                "getrandom\0"
                 "getresgid\0"
                 "getresgid32\0"
                 "getresuid\0"