Gentoo Archives: gentoo-commits

From: "Paweł Hajdan" <phajdan.jr@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 20 Sep 2015 18:26:09
Message-Id: 1442773543.0c2923e84ab1f678da80c2d8ddc3166f98ff6487.phajdan.jr@gentoo
1 commit: 0c2923e84ab1f678da80c2d8ddc3166f98ff6487
2 Author: Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 20 18:23:05 2015 +0000
4 Commit: Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 20 18:25:43 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2923e8
7
8 chromium.eclass: add a kernel config check for CONFIG_ADVISE_SYSCALLS
9
10 This option is required for the renderer to work.
11
12 This fixes bug #552576 by Fernando (likewhoa).
13
14 Stack traces and other helpful debugging info has been provided by
15 sagredo.
16
17 eclass/chromium.eclass | 5 ++++-
18 1 file changed, 4 insertions(+), 1 deletion(-)
19
20 diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass
21 index cd64125..38bcc9e 100644
22 --- a/eclass/chromium.eclass
23 +++ b/eclass/chromium.eclass
24 @@ -33,7 +33,10 @@ chromium_suid_sandbox_check_kernel_config() {
25 ERROR_NET_NS="NET_NS is required for sandbox to work"
26 ERROR_USER_NS="USER_NS is required for sandbox to work"
27 ERROR_SECCOMP_FILTER="SECCOMP_FILTER is required for sandbox to work"
28 - CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS"
29 + # Warn if the kernel does not support features needed for the browser to work
30 + # (bug #552576).
31 + ERROR_CONFIG_ADVISE_SYSCALLS="CONFIG_ADVISE_SYSCALLS is required for the renderer (bug #552576)"
32 + CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS ~CONFIG_ADVISE_SYSCALLS"
33 check_extra_config
34 fi
35 }