commit:     0c2923e84ab1f678da80c2d8ddc3166f98ff6487
Author:     Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 20 18:23:05 2015 +0000
Commit:     Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org>
CommitDate: Sun Sep 20 18:25:43 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c2923e8

chromium.eclass: add a kernel config check for CONFIG_ADVISE_SYSCALLS

This option is required for the renderer to work.

This fixes bug #552576 by Fernando (likewhoa).

Stack traces and other helpful debugging info has been provided by
sagredo.

 eclass/chromium.eclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass
index cd64125..38bcc9e 100644
--- a/eclass/chromium.eclass
+++ b/eclass/chromium.eclass
@@ -33,7 +33,10 @@ chromium_suid_sandbox_check_kernel_config() {
                ERROR_NET_NS="NET_NS is required for sandbox to work"
                ERROR_USER_NS="USER_NS is required for sandbox to work"
                ERROR_SECCOMP_FILTER="SECCOMP_FILTER is required for sandbox to 
work"
-               CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS"
+               # Warn if the kernel does not support features needed for the 
browser to work
+               # (bug #552576).
+               ERROR_CONFIG_ADVISE_SYSCALLS="CONFIG_ADVISE_SYSCALLS is 
required for the renderer (bug #552576)"
+               CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS 
~CONFIG_ADVISE_SYSCALLS"
                check_extra_config
        fi
 }

Reply via email to