diff options
author | Pawel Hajdan, Jr <phajdan.jr@gentoo.org> | 2015-09-20 20:23:05 +0200 |
---|---|---|
committer | Pawel Hajdan, Jr <phajdan.jr@gentoo.org> | 2015-09-20 20:25:43 +0200 |
commit | 0c2923e84ab1f678da80c2d8ddc3166f98ff6487 (patch) | |
tree | 3dfcea9d28e6f05683fc3d9e4c8f565fb462afea /eclass | |
parent | x11-libs/gtk+: Drop old (diff) | |
download | gentoo-0c2923e84ab1f678da80c2d8ddc3166f98ff6487.tar.gz gentoo-0c2923e84ab1f678da80c2d8ddc3166f98ff6487.tar.bz2 gentoo-0c2923e84ab1f678da80c2d8ddc3166f98ff6487.zip |
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.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/chromium.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
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 } |