]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge remote-tracking branch 'Jigsaw52/seccomp-fix-18397' into maint-0.2.8
authorNick Mathewson <nickm@torproject.org>
Wed, 13 Jul 2016 13:16:59 +0000 (09:16 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 13 Jul 2016 13:16:59 +0000 (09:16 -0400)
1  2 
src/common/sandbox.c

index 70c5bbd07c387d762c91b41107921b56375d4564,b194c240d749a01823a6cab2de28a064c0168d7d..c0b994b3e835d15c004cb1bdf893db2eb8bef2a3
@@@ -207,11 -207,10 +207,15 @@@ static int filter_nopar_gen[] = 
      // getaddrinfo uses this..
      SCMP_SYS(stat64),
  #endif
 +
 +#ifdef __NR_getrandom
 +    SCMP_SYS(getrandom),
 +#endif
 +
+ #ifdef __NR_sysinfo
+     // qsort uses this..
+     SCMP_SYS(sysinfo),
+ #endif
      /*
       * These socket syscalls are not required on x86_64 and not supported with
       * some libseccomp versions (eg: 1.0.1)