Bug 1273852 - Allow getsockopt in EvaluateSocketCall. r=jld
authorGian-Carlo Pascutto <gcp@mozilla.com>
Wed, 08 Jun 2016 19:05:08 +0200
changeset 303551 35575b3633f7b9521a82b5a0dd20c372f79b1973
parent 303550 289f630f3b0b818d581dfbd32dd6a97038a558e0
child 303552 adb1d2a92e0daeaef0b03867a5ed36335ae4080d
push id30394
push userphilringnalda@gmail.com
push dateMon, 04 Jul 2016 22:02:32 +0000
treeherdermozilla-central@c9a70b64f2fa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld
bugs1273852
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 1273852 - Allow getsockopt in EvaluateSocketCall. r=jld MozReview-Commit-ID: F9rVM0VKmUR
security/sandbox/linux/SandboxFilter.cpp
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -435,16 +435,17 @@ public:
 #else // #ifdef DESKTOP
     case SYS_RECV:
     case SYS_SEND:
     case SYS_SOCKET: // DANGEROUS
     case SYS_CONNECT: // DANGEROUS
     case SYS_ACCEPT:
     case SYS_BIND:
     case SYS_LISTEN:
+    case SYS_GETSOCKOPT:
     case SYS_SETSOCKOPT:
     case SYS_GETSOCKNAME:
     case SYS_GETPEERNAME:
     case SYS_SHUTDOWN:
       return Some(Allow());
 #endif
     default:
       return SandboxPolicyCommon::EvaluateSocketCall(aCall);