From: Pawel Hajdan, Jr Date: Sun, 20 Sep 2015 18:23:05 +0000 (+0200) Subject: chromium.eclass: add a kernel config check for CONFIG_ADVISE_SYSCALLS X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c2923e84ab1f678da80c2d8ddc3166f98ff6487;p=gentoo.git 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. --- diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass index cd641251a312..38bcc9e50579 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 }