Github messages for voidlinux
 help / color / Atom feed
* [PR PATCH] chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler
@ 2019-10-08 20:10 voidlinux-github
  2019-10-14 20:42 ` voidlinux-github
  2019-10-14 20:42 ` [PR PATCH] [Closed]: " voidlinux-github
  0 siblings, 2 replies; 3+ messages in thread
From: voidlinux-github @ 2019-10-08 20:10 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

There is a new pull request by jnbr against master on the void-packages repository

https://github.com/jnbr/void-packages chromium-sandbox
https://github.com/void-linux/void-packages/pull/15268

chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler


A patch file from https://github.com/void-linux/void-packages/pull/15268.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-chromium-sandbox-15268.patch --]
[-- Type: text/x-diff, Size: 2125 bytes --]

From 864d2066aeece10cebee83c394076629ba3723e8 Mon Sep 17 00:00:00 2001
From: Johannes <johannes.brechtmann@gmail.com>
Date: Tue, 8 Oct 2019 21:15:16 +0200
Subject: [PATCH] chromium: allow SYS_sched_getparam and
 SYS_sched_get_scheduler in render policy

fixes #14980

[ci skip]
---
 .../patches/sandbox-sched_getparam.patch      | 20 +++++++++++++++++++
 srcpkgs/chromium/template                     |  2 +-
 2 files changed, 21 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/chromium/patches/sandbox-sched_getparam.patch

diff --git a/srcpkgs/chromium/patches/sandbox-sched_getparam.patch b/srcpkgs/chromium/patches/sandbox-sched_getparam.patch
new file mode 100644
index 00000000000..aa2d9aa1846
--- /dev/null
+++ b/srcpkgs/chromium/patches/sandbox-sched_getparam.patch
@@ -0,0 +1,20 @@
+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
+
+--- services/service_manager/sandbox/linux/bpf_renderer_policy_linux.cc.orig	2019-10-08 21:03:18.253080425 +0200
++++ services/service_manager/sandbox/linux/bpf_renderer_policy_linux.cc	2019-10-08 21:04:19.648549718 +0200
+@@ -88,10 +88,10 @@
+     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 sandbox::RestrictSchedTarget(GetPolicyPid(), sysno);
+     case __NR_prlimit64:
diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template
index 304251bf6c9..24ef78d74ee 100644
--- a/srcpkgs/chromium/template
+++ b/srcpkgs/chromium/template
@@ -2,7 +2,7 @@
 pkgname=chromium
 # See http://www.chromium.org/developers/calendar for the latest version
 version=77.0.3865.90
-revision=1
+revision=2
 archs="i686 x86_64*"
 short_desc="Google's attempt at creating a safer, faster, and more stable browser"
 maintainer="Enno Boland <gottox@voidlinux.org>"

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler
  2019-10-08 20:10 [PR PATCH] chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler voidlinux-github
@ 2019-10-14 20:42 ` voidlinux-github
  2019-10-14 20:42 ` [PR PATCH] [Closed]: " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-10-14 20:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 144 bytes --]

New comment by jnbr on void-packages repository

https://github.com/void-linux/void-packages/pull/15268#issuecomment-541909871

Comment:
#15438

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PR PATCH] [Closed]: chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler
  2019-10-08 20:10 [PR PATCH] chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler voidlinux-github
  2019-10-14 20:42 ` voidlinux-github
@ 2019-10-14 20:42 ` " voidlinux-github
  1 sibling, 0 replies; 3+ messages in thread
From: voidlinux-github @ 2019-10-14 20:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

There's a closed pull request on the void-packages repository

chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler
https://github.com/void-linux/void-packages/pull/15268

Description:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-08 20:10 [PR PATCH] chromium: allow SYS_sched_getparam and SYS_sched_get_scheduler voidlinux-github
2019-10-14 20:42 ` voidlinux-github
2019-10-14 20:42 ` [PR PATCH] [Closed]: " voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git