aboutsummaryrefslogtreecommitdiff
path: root/repos/clang/firefox/sandbox-sched_setscheduler.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/clang/firefox/sandbox-sched_setscheduler.patch')
-rw-r--r--repos/clang/firefox/sandbox-sched_setscheduler.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/repos/clang/firefox/sandbox-sched_setscheduler.patch b/repos/clang/firefox/sandbox-sched_setscheduler.patch
deleted file mode 100644
index d003de8c..00000000
--- a/repos/clang/firefox/sandbox-sched_setscheduler.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1657849
---- a/security/sandbox/linux/SandboxFilter.cpp
-+++ b/security/sandbox/linux/SandboxFilter.cpp
-@@ -1751,6 +1751,6 @@ class GMPSandboxPolicy : public SandboxPolicyCommon {
- case __NR_sched_get_priority_max:
-+ case __NR_sched_setscheduler:
- return Allow();
- case __NR_sched_getparam:
-- case __NR_sched_getscheduler:
-- case __NR_sched_setscheduler: {
-+ case __NR_sched_getscheduler: {
- Arg<pid_t> pid(0);
-@@ -1926,3 +1926,2 @@ class RDDSandboxPolicy final : public SandboxPolicyCommon {
- case __NR_sched_getscheduler:
-- case __NR_sched_setscheduler:
- case __NR_sched_getattr:
-@@ -1932,2 +1931,5 @@ class RDDSandboxPolicy final : public SandboxPolicyCommon {
- }
-+ // sched_setscheduler gets special treatment here (bug 1657849):
-+ case __NR_sched_setscheduler:
-+ return Allow();
-