21 lines
835 B
Diff
21 lines
835 B
Diff
Allow SYS_sched_getparam and SYS_sched_getscheduler
|
|
musl uses them for pthread_getschedparam()
|
|
|
|
source: https://git.alpinelinux.org/aports/commit/community/chromium?id=54af9f8ac24f52d382c5758e2445bf0206eff40e
|
|
|
|
--- qt6-webengine-6.4.2.orig/src/3rdparty/chromium/sandbox/policy/linux/bpf_renderer_policy_linux.cc
|
|
+++ qt6-webengine-6.4.2/src/3rdparty/chromium/sandbox/policy/linux/bpf_renderer_policy_linux.cc
|
|
@@ -97,10 +97,10 @@ ResultExpr RendererProcessPolicy::Evalua
|
|
case __NR_sysinfo:
|
|
case __NR_times:
|
|
case __NR_uname:
|
|
- return Allow();
|
|
- case __NR_sched_getaffinity:
|
|
case __NR_sched_getparam:
|
|
case __NR_sched_getscheduler:
|
|
+ return Allow();
|
|
+ case __NR_sched_getaffinity:
|
|
case __NR_sched_setscheduler:
|
|
return RestrictSchedTarget(GetPolicyPid(), sysno);
|
|
case __NR_prlimit64:
|