Bug 1308400 - Report failures in file processes too. r=jld
authorGian-Carlo Pascutto <gcp@mozilla.com>
Mon, 10 Jul 2017 20:20:49 +0200
changeset 421866 b5fa08551d6e74d8300fa94f3161afdffd867764
parent 421865 f180a4ed7aabe89f5c038f59a4f7a69d0200a6db
child 421867 1dea32a148a9bf79a83dae48a3ef46fb36ce1e99
push id1517
push userjlorenzo@mozilla.com
push dateThu, 14 Sep 2017 16:50:54 +0000
treeherdermozilla-release@3b41fd564418 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld
bugs1308400
milestone56.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 1308400 - Report failures in file processes too. r=jld MozReview-Commit-ID: 549WuWKaJeM
security/sandbox/linux/reporter/SandboxReporter.cpp
--- a/security/sandbox/linux/reporter/SandboxReporter.cpp
+++ b/security/sandbox/linux/reporter/SandboxReporter.cpp
@@ -134,16 +134,19 @@ SubmitToTelemetry(const SandboxReport& a
 
   switch (aReport.mProcType) {
   case SandboxReport::ProcType::CONTENT:
     key.AppendLiteral("content");
     break;
   case SandboxReport::ProcType::MEDIA_PLUGIN:
     key.AppendLiteral("gmp");
     break;
+  case SandboxReport::ProcType::FILE:
+    key.AppendLiteral("file");
+    break;
   default:
     MOZ_ASSERT(false);
   }
   key.Append(':');
 
   switch(aReport.mSyscall) {
     // Syscalls that are filtered by arguments in one or more of the
     // policies in SandboxFilter.cpp should generally have those