commit | 26ad18247213ff72b4438abe7fc660c958810fa2 | [log] [tgz] |
---|---|---|
author | Damien Miller <djm@mindrot.org> | Thu Sep 10 10:57:41 2015 +1000 |
committer | Damien Miller <djm@mindrot.org> | Thu Sep 10 10:57:41 2015 +1000 |
tree | 719d4358a8556a5b31fcf0ff0e05398e4ed92cc9 | |
parent | 5245bc1e6b129a10a928f73f11c3aa32656c44b4 [diff] [blame] |
allow getrandom syscall; from Felix von Leitner
diff --git a/sandbox-seccomp-filter.c b/sandbox-seccomp-filter.c index 2462bcc..d132e26 100644 --- a/sandbox-seccomp-filter.c +++ b/sandbox-seccomp-filter.c
@@ -147,6 +147,9 @@ #ifdef __NR_getpid SC_ALLOW(getpid), #endif +#ifdef __NR_getrandom + SC_ALLOW(getrandom), +#endif #ifdef __NR_gettimeofday SC_ALLOW(gettimeofday), #endif