Bug 1285902 - Add sys_msgget to seccomp whitelist. r=gcp
authorJulian Hector <julian.r.hector@gmail.com>
Fri, 15 Jul 2016 17:34:29 +0200
changeset 305774 4f3556a9addc454d21d1f874f270eddc8f41577e
parent 305773 e5d39287514f576fcfa8bc33b18b6c2d8dd31722
child 305775 4680463ffdd7f2d54f6e3ff9e71495196760d079
push id30467
push usercbook@mozilla.com
push dateWed, 20 Jul 2016 09:21:53 +0000
treeherdermozilla-central@e904e18d7dfc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgcp
bugs1285902
milestone50.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1285902 - Add sys_msgget to seccomp whitelist. r=gcp
security/sandbox/linux/SandboxFilter.cpp
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -463,16 +463,17 @@ public:
       // anymore; this needs to be studied.
     case SHMGET:
     case SHMCTL:
     case SHMAT:
     case SHMDT:
     case SEMGET:
     case SEMCTL:
     case SEMOP:
+    case MSGGET:
       return Some(Allow());
     default:
       return SandboxPolicyCommon::EvaluateIpcCall(aCall);
     }
   }
 #endif
 
   virtual ResultExpr EvaluateSyscall(int sysno) const override {