From 0c2923e84ab1f678da80c2d8ddc3166f98ff6487 Mon Sep 17 00:00:00 2001 From: "Pawel Hajdan, Jr" Date: Sun, 20 Sep 2015 20:23:05 +0200 Subject: [PATCH] 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 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 } -- 2.26.2