-25
@@ -1,25 +0,0 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: stransky <stransky@redhat.com>
|
|
||||||
Date: Thu, 15 Dec 2022 08:09:22 +0000
|
|
||||||
Subject: [PATCH] Bug 1804973 [Wayland] Check size for valid EGLWindows only
|
|
||||||
r=emilio
|
|
||||||
|
|
||||||
Differential Revision: https://phabricator.services.mozilla.com/D164651
|
|
||||||
---
|
|
||||||
widget/gtk/MozContainerWayland.cpp | 3 +++
|
|
||||||
1 file changed, 3 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/widget/gtk/MozContainerWayland.cpp b/widget/gtk/MozContainerWayland.cpp
|
|
||||||
index 954c650af533..2a4a492077c3 100644
|
|
||||||
--- a/widget/gtk/MozContainerWayland.cpp
|
|
||||||
+++ b/widget/gtk/MozContainerWayland.cpp
|
|
||||||
@@ -704,6 +704,9 @@ bool moz_container_wayland_egl_window_needs_size_update(MozContainer* container,
|
|
||||||
nsIntSize aSize,
|
|
||||||
int aScale) {
|
|
||||||
MozContainerWayland* wl_container = &container->wl_container;
|
|
||||||
+ if (!wl_container->eglwindow) {
|
|
||||||
+ return false;
|
|
||||||
+ }
|
|
||||||
if (wl_container->buffer_scale != aScale) {
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
-39
@@ -1,39 +0,0 @@
|
|||||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jed Davis <jld@mozilla.com>
|
|
||||||
Date: Fri, 31 Oct 2025 05:25:52 +0100
|
|
||||||
Subject: [PATCH] Bug 1995035 - Allow `F_DUPFD_QUERY` in the Linux sandboxes.
|
|
||||||
r?gcp,thinker
|
|
||||||
|
|
||||||
Differential Revision: https://phabricator.services.mozilla.com/D270797
|
|
||||||
---
|
|
||||||
security/sandbox/linux/SandboxFilter.cpp | 10 ++++++++++
|
|
||||||
1 file changed, 10 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp
|
|
||||||
index aabfd088f8be..4a161fe53e90 100644
|
|
||||||
--- a/security/sandbox/linux/SandboxFilter.cpp
|
|
||||||
+++ b/security/sandbox/linux/SandboxFilter.cpp
|
|
||||||
@@ -130,6 +130,13 @@ static_assert(MFD_HUGE_MASK == MAP_HUGE_MASK);
|
|
||||||
static_assert(MFD_HUGE_SHIFT == MAP_HUGE_SHIFT);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
+// Added in 6.10
|
|
||||||
+#ifndef F_DUPFD_QUERY
|
|
||||||
+# define F_DUPFD_QUERY (F_LINUX_SPECIFIC_BASE + 3)
|
|
||||||
+#else
|
|
||||||
+static_assert(F_DUPFD_QUERY == (F_LINUX_SPECIFIC_BASE + 3));
|
|
||||||
+#endif
|
|
||||||
+
|
|
||||||
// To avoid visual confusion between "ifdef ANDROID" and "ifndef ANDROID":
|
|
||||||
#ifndef ANDROID
|
|
||||||
# define DESKTOP
|
|
||||||
@@ -1112,6 +1119,9 @@ class SandboxPolicyCommon : public SandboxPolicyBase {
|
|
||||||
#endif
|
|
||||||
// Not much different from other forms of dup(), and commonly used.
|
|
||||||
.Case(F_DUPFD_CLOEXEC, Allow())
|
|
||||||
+ // Used by Mesa, generally useful, and harmless: tests if
|
|
||||||
+ // two file descriptors refer to the same file description.
|
|
||||||
+ .Case(F_DUPFD_QUERY, Allow())
|
|
||||||
.Default(SandboxPolicyBase::EvaluateSyscall(sysno));
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
[Global]
|
[Global]
|
||||||
id=PisiLinux
|
id=PisiLinux
|
||||||
version=2.4.2
|
version=2.4.3
|
||||||
about=Mozilla Firefox for PisiLinux
|
about=Mozilla Firefox for PisiLinux
|
||||||
|
|
||||||
[Preferences]
|
[Preferences]
|
||||||
|
|||||||
@@ -1,16 +0,0 @@
|
|||||||
--- a/config/makefiles/rust.mk
|
|
||||||
+++ b/config/makefiles/rust.mk
|
|
||||||
@@ -91,11 +91,13 @@
|
|
||||||
ifndef rustflags_sancov
|
|
||||||
# Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
|
|
||||||
ifndef MOZ_CODE_COVERAGE
|
|
||||||
+ifeq (,$(findstring riscv64,$(RUST_TARGET)))
|
|
||||||
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
|
|
||||||
cargo_rustc_flags += -Clto=thin
|
|
||||||
endif
|
|
||||||
# We need -Cembed-bitcode=yes for all crates when using -Clto.
|
|
||||||
RUSTFLAGS += -Cembed-bitcode=yes
|
|
||||||
+endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
@@ -1,12 +0,0 @@
|
|||||||
set rust crate lto to thin to not use fatlto for gkrust which fails sometimes
|
|
||||||
--- a/config/makefiles/rust.mk
|
|
||||||
+++ b/config/makefiles/rust.mk
|
|
||||||
@@ -92,7 +92,7 @@
|
|
||||||
# Never enable when coverage is enabled to work around https://github.com/rust-lang/rust/issues/90045.
|
|
||||||
ifndef MOZ_CODE_COVERAGE
|
|
||||||
ifeq (,$(findstring gkrust_gtest,$(RUST_LIBRARY_FILE)))
|
|
||||||
-cargo_rustc_flags += -Clto$(if $(filter full,$(MOZ_LTO_RUST_CROSS)),=fat)
|
|
||||||
+cargo_rustc_flags += -Clto=thin
|
|
||||||
endif
|
|
||||||
# We need -Cembed-bitcode=yes for all crates when using -Clto.
|
|
||||||
RUSTFLAGS += -Cembed-bitcode=yes
|
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
<IsA>app:gui</IsA>
|
<IsA>app:gui</IsA>
|
||||||
<Summary>Firefox Web Browser</Summary>
|
<Summary>Firefox Web Browser</Summary>
|
||||||
<Description>It is more secure and faster to browse the web with Firefox web browser. You can personalize your web browser with many specifications that is not enough to explain in two sentences.</Description>
|
<Description>It is more secure and faster to browse the web with Firefox web browser. You can personalize your web browser with many specifications that is not enough to explain in two sentences.</Description>
|
||||||
<Archive sha1sum="25c261ba15badaa42ceb847d279db07f29fa1e33" type="tarxz">https://ftp.mozilla.org/pub/firefox/releases/146.0/source/firefox-146.0.source.tar.xz</Archive>
|
<Archive sha1sum="a6f2646a9e179c4c0a99bf3811b3d035a4594d10" type="tarxz">https://ftp.mozilla.org/pub/firefox/releases/147.0/source/firefox-147.0.source.tar.xz</Archive>
|
||||||
<AdditionalFiles>
|
<AdditionalFiles>
|
||||||
<!--Our main configure script. Configure paramters are stored here.-->
|
<!--Our main configure script. Configure paramters are stored here.-->
|
||||||
<!-- <AdditionalFile target=".mozconfig" permission="0644">mozconfig</AdditionalFile> -->
|
<!-- <AdditionalFile target=".mozconfig" permission="0644">mozconfig</AdditionalFile> -->
|
||||||
@@ -78,7 +78,7 @@
|
|||||||
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
<Dependency>jack-audio-connection-kit-devel</Dependency>
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
<Patches>
|
<Patches>
|
||||||
<Patch level="1">0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch</Patch>
|
<!-- <Patch level="1">0002-Bug-1995035-Allow-F_DUPFD_QUERY-in-the-Linux-sandbox.patch</Patch> -->
|
||||||
<!-- <Patch level="1">riscv64-no-lto.patch</Patch> -->
|
<!-- <Patch level="1">riscv64-no-lto.patch</Patch> -->
|
||||||
<!-- <Patch level="1">0002-Bug-1804973-Wayland-Check-size-for-valid-EGLWindows-.patch</Patch> -->
|
<!-- <Patch level="1">0002-Bug-1804973-Wayland-Check-size-for-valid-EGLWindows-.patch</Patch> -->
|
||||||
<!-- <Patch level="1">zstandard-0.18.0.diff</Patch> -->
|
<!-- <Patch level="1">zstandard-0.18.0.diff</Patch> -->
|
||||||
@@ -568,6 +568,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="163">
|
||||||
|
<Date>2026-01-13</Date>
|
||||||
|
<Version>147.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Pisi Linux Community</Name>
|
||||||
|
<Email>admin@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
<Update release="162">
|
<Update release="162">
|
||||||
<Date>2025-12-08</Date>
|
<Date>2025-12-08</Date>
|
||||||
<Version>146.0</Version>
|
<Version>146.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user