summaryrefslogtreecommitdiff
path: root/rb245262.patch
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2018-08-28 12:40:57 +0200
committerMartin Stransky <stransky@redhat.com>2018-08-28 12:40:57 +0200
commitbd7726282836dc39fe7829db7363032ec272ed26 (patch)
treee3b34257b58c850f543711e5462518df3c031193 /rb245262.patch
parentAdded patches for mozbz#1427700 and mozbz#1463809 (diff)
downloadlibrewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.tar.gz
librewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.tar.bz2
librewolf-fedora-ff-bd7726282836dc39fe7829db7363032ec272ed26.zip
Update to 62.0
Diffstat (limited to 'rb245262.patch')
-rw-r--r--rb245262.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/rb245262.patch b/rb245262.patch
deleted file mode 100644
index 25550b5..0000000
--- a/rb245262.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-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
-@@ -1048,16 +1048,24 @@ public:
-
- case __NR_mprotect:
- case __NR_brk:
- case __NR_madvise:
- // libc's realloc uses mremap (Bug 1286119); wasm does too (bug 1342385).
- case __NR_mremap:
- return Allow();
-
-+ // Bug 1462640: Mesa libEGL uses mincore to test whether values
-+ // are pointers, for reasons.
-+ case __NR_mincore: {
-+ Arg<size_t> length(1);
-+ return If(length == getpagesize(), Allow())
-+ .Else(SandboxPolicyCommon::EvaluateSyscall(sysno));
-+ }
-+
- case __NR_sigaltstack:
- return Allow();
-
- #ifdef __NR_set_thread_area
- case __NR_set_thread_area:
- return Allow();
- #endif
-
-
bgstack15