From f734bd1a7cc1d398185aa70b5a8ec3c7e548ea52 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Tue, 25 Jul 2017 15:39:23 +0200 Subject: [PATCH] sys_linux: allow getrandom in seccomp filter This fixes commit c5735ebfe9065facc324b58ea4f94a9ea64c41cf. --- sys_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys_linux.c b/sys_linux.c index f2f3eb9..2f84246 100644 --- a/sys_linux.c +++ b/sys_linux.c @@ -490,7 +490,7 @@ SYS_Linux_EnableSystemCallFilter(int level) SCMP_SYS(poll), SCMP_SYS(read), SCMP_SYS(futex), SCMP_SYS(select), SCMP_SYS(set_robust_list), SCMP_SYS(write), /* Miscellaneous */ - SCMP_SYS(sysinfo), SCMP_SYS(uname), + SCMP_SYS(getrandom), SCMP_SYS(sysinfo), SCMP_SYS(uname), }; const int socket_domains[] = {