From dea2a1fa20fc8e843cd85e5920a67b9054d00b2e Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Sun, 24 May 2026 15:40:32 +0000 Subject: Woodpecker CI ef5bfeb93345a5a681d88e99775622bf28defd8d [SKIP CI] --- repos/extra/librewolf/musl-sandbox-sched.patch | 57 -------------------------- 1 file changed, 57 deletions(-) delete mode 100644 repos/extra/librewolf/musl-sandbox-sched.patch (limited to 'repos/extra/librewolf/musl-sandbox-sched.patch') diff --git a/repos/extra/librewolf/musl-sandbox-sched.patch b/repos/extra/librewolf/musl-sandbox-sched.patch deleted file mode 100644 index 87b6e660..00000000 --- a/repos/extra/librewolf/musl-sandbox-sched.patch +++ /dev/null @@ -1,57 +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 -@@ -1759,16 +1759,24 @@ - return Allow(); - case __NR_sched_get_priority_min: - case __NR_sched_get_priority_max: - return Allow(); - case __NR_sched_getparam: -- case __NR_sched_getscheduler: -- case __NR_sched_setscheduler: { -+#if defined(LIBC_GLIBC) -+ case __NR_sched_setscheduler: -+#endif -+ case __NR_sched_getscheduler: { - Arg pid(0); - return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr)); - } - -+#if !defined(LIBC_GLIBC) -+ // For pthread_create(3) on musl; bug 1657849. -+ case __NR_sched_setscheduler: -+ return Allow(); -+#endif -+ - // For clock(3) on older glibcs; bug 1304220. - case __NR_times: - return Allow(); - - // Bug 1372428 -@@ -1950,17 +1958,25 @@ - case __NR_sched_getaffinity: - case __NR_sched_setaffinity: - case __NR_sched_getparam: - case __NR_sched_setparam: - case __NR_sched_getscheduler: -+#if defined(LIBC_GLIBC) - case __NR_sched_setscheduler: -+#endif - case __NR_sched_getattr: - case __NR_sched_setattr: { - Arg pid(0); - return If(pid == 0, Allow()).Else(Trap(SchedTrap, nullptr)); - } - -+#if !defined(LIBC_GLIBC) -+ // For pthread_create(3) on musl; 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: - return Allow(); - - -- cgit v1.2.3