From: Damien Miller Date: Thu, 10 Sep 2015 00:57:41 +0000 (+1000) Subject: allow getrandom syscall; from Felix von Leitner X-Git-Tag: V_7_2_P1~196 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26ad18247213ff72b4438abe7fc660c958810fa2;p=thirdparty%2Fopenssh-portable.git allow getrandom syscall; from Felix von Leitner --- diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index 2462bcc88..d132e2646 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c @@ -147,6 +147,9 @@ static const struct sock_filter preauth_insns[] = { #ifdef __NR_getpid SC_ALLOW(getpid), #endif +#ifdef __NR_getrandom + SC_ALLOW(getrandom), +#endif #ifdef __NR_gettimeofday SC_ALLOW(gettimeofday), #endif