mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-02 01:52:59 +02:00
firefox: update to 142.0.1.
This commit is contained in:
parent
6c4a636836
commit
a69e2e825d
2 changed files with 47 additions and 2 deletions
45
srcpkgs/firefox/patches/sandbox-sched_setscheduler.patch
Normal file
45
srcpkgs/firefox/patches/sandbox-sched_setscheduler.patch
Normal file
|
@ -0,0 +1,45 @@
|
|||
upstream bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1657849
|
||||
diff --git a/security/sandbox/linux/SandboxFilter.cpp b/security/sandbox/linux/SandboxFilter.cpp
|
||||
index ed958bc..9824433 100644
|
||||
--- firefox-142.0.1/security/sandbox/linux/SandboxFilter.cpp 2025-08-27 05:19:55.000000000 +0200
|
||||
+++ - 2025-08-27 13:34:45.154107444 +0200
|
||||
@@ -1884,10 +1884,16 @@
|
||||
return Allow();
|
||||
case __NR_sched_get_priority_min:
|
||||
case __NR_sched_get_priority_max:
|
||||
+#ifndef __GLIBC__
|
||||
+ case __NR_sched_setscheduler:
|
||||
+#endif
|
||||
return Allow();
|
||||
case __NR_sched_getparam:
|
||||
case __NR_sched_getscheduler:
|
||||
- case __NR_sched_setscheduler: {
|
||||
+#ifdef __GLIBC__
|
||||
+ case __NR_sched_setscheduler:
|
||||
+#endif
|
||||
+ {
|
||||
Arg<pid_t> pid(0);
|
||||
return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr));
|
||||
}
|
||||
@@ -2077,13 +2083,21 @@
|
||||
case __NR_sched_getparam:
|
||||
case __NR_sched_setparam:
|
||||
case __NR_sched_getscheduler:
|
||||
+#ifdef __GLIBC__
|
||||
case __NR_sched_setscheduler:
|
||||
+#endif
|
||||
case __NR_sched_getattr:
|
||||
case __NR_sched_setattr: {
|
||||
Arg<pid_t> pid(0);
|
||||
return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr));
|
||||
}
|
||||
|
||||
+#ifndef __GLIBC__
|
||||
+ // sched_setscheduler gets special treatment here (bug 1657849):
|
||||
+ case __NR_sched_setscheduler:
|
||||
+ return Allow();
|
||||
+#endif
|
||||
+
|
||||
// The priority bounds are also used, sometimes (bug 1838675):
|
||||
case __NR_sched_get_priority_min:
|
||||
case __NR_sched_get_priority_max:
|
|
@ -3,7 +3,7 @@
|
|||
# THIS PKG MUST BE SYNCHRONIZED WITH "srcpkgs/firefox-i18n".
|
||||
#
|
||||
pkgname=firefox
|
||||
version=142.0
|
||||
version=142.0.1
|
||||
revision=1
|
||||
build_helper="rust"
|
||||
short_desc="Mozilla Firefox web browser"
|
||||
|
@ -12,7 +12,7 @@ license="MPL-2.0, GPL-2.0-or-later, LGPL-2.1-or-later"
|
|||
homepage="https://www.mozilla.org/firefox/"
|
||||
changelog="https://www.mozilla.org/en-US/firefox/${version}/releasenotes/"
|
||||
distfiles="${MOZILLA_SITE}/firefox/releases/${version/beta/b}/source/firefox-${version/beta/b}.source.tar.xz"
|
||||
checksum=2808e1f10f3b6c593f96f3745a55d12c98107886daef00f1e354c24203a64b0f
|
||||
checksum=b0adb44ed4c3383e752a5947adbfb0d03f24172cb468831bd49978de25e810c0
|
||||
|
||||
lib32disabled=yes
|
||||
_llvmver=19 # needs to match rust
|
||||
|
|
Loading…
Add table
Reference in a new issue