summaryrefslogtreecommitdiff
path: root/mozilla-1715254.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-06-30 12:24:15 +0200
committerMartin Stransky <stransky@redhat.com>2021-06-30 12:24:15 +0200
commit30110df460c6141020e5da25a401e1fb683e00a1 (patch)
treee0bb3fdd1c409649e816d09cadfe28e4d1488e3f /mozilla-1715254.patch
parentUpdated to latest upstream (89.0.2) (diff)
downloadlibrewolf-fedora-ff-30110df460c6141020e5da25a401e1fb683e00a1.tar.gz
librewolf-fedora-ff-30110df460c6141020e5da25a401e1fb683e00a1.tar.bz2
librewolf-fedora-ff-30110df460c6141020e5da25a401e1fb683e00a1.zip
Added fix for mozbz#1715254 (rhbz#1976892)
Diffstat (limited to 'mozilla-1715254.patch')
-rw-r--r--mozilla-1715254.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/mozilla-1715254.patch b/mozilla-1715254.patch
new file mode 100644
index 0000000..662a9d8
--- /dev/null
+++ b/mozilla-1715254.patch
@@ -0,0 +1,24 @@
+diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp
+--- a/security/sandbox/linux/SandboxFilter.cpp
++++ b/security/sandbox/linux/SandboxFilter.cpp
+@@ -858,6 +858,9 @@
+ case __NR_clone:
+ return ClonePolicy(InvalidSyscall());
+
++ case __NR_clone3:
++ return Error(ENOSYS);
++
+ // More thread creation.
+ #ifdef __NR_set_robust_list
+ case __NR_set_robust_list:
+@@ -1504,6 +1507,9 @@
+ case __NR_clone:
+ return ClonePolicy(Error(EPERM));
+
++ case __NR_clone3:
++ return Error(ENOSYS);
++
+ # ifdef __NR_fadvise64
+ case __NR_fadvise64:
+ return Allow();
+
bgstack15