From 1ef012aafb8a7c4fdec53fedff8f985cab29d144 Mon Sep 17 00:00:00 2001 From: Jed Davis Date: Wed, 2 Jul 2014 11:28:48 -0700 Subject: [PATCH] Bug 956961 - Stop disabling sandboxing when DMD is enabled. r=kang --HG-- extra : amend_source : 66f2453794e6a8a581e1564e786cfc8cac1f6bbd --- security/sandbox/linux/Sandbox.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/security/sandbox/linux/Sandbox.cpp b/security/sandbox/linux/Sandbox.cpp index 1b60e549362c..bde6268f38eb 100644 --- a/security/sandbox/linux/Sandbox.cpp +++ b/security/sandbox/linux/Sandbox.cpp @@ -211,15 +211,6 @@ InstallSyscallReporter(void) static int InstallSyscallFilter(const sock_fprog *prog) { -#ifdef MOZ_DMD - char* e = PR_GetEnv("DMD"); - if (e && strcmp(e, "") != 0 && strcmp(e, "0") != 0) { - LOG_ERROR("SANDBOX DISABLED FOR DMD! See bug 956961."); - // Must treat this as "failure" in order to prevent infinite loop; - // cf. the PR_GET_SECCOMP check below. - return 1; - } -#endif if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)) { return 1; }