summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Hajdan, Jr <phajdan.jr@gentoo.org>2015-09-20 20:39:54 +0200
committerPawel Hajdan, Jr <phajdan.jr@gentoo.org>2015-09-20 20:43:18 +0200
commit4f8529b9f18cfffc8d42951c76ab04af6f94b4f3 (patch)
tree6b25438a471bb8013f1bffa0be34def040585428 /eclass/chromium.eclass
parentgnome-extra/yelp: preserved-rebuild shows that this uses directly libgcrypt (diff)
downloadgentoo-4f8529b9f18cfffc8d42951c76ab04af6f94b4f3.tar.gz
gentoo-4f8529b9f18cfffc8d42951c76ab04af6f94b4f3.tar.bz2
gentoo-4f8529b9f18cfffc8d42951c76ab04af6f94b4f3.zip
chromium.eclass: add kernel config check for CONFIG_COMPAT_VDSO
This fixes bug #556286 by Patrice Levesque.
Diffstat (limited to 'eclass/chromium.eclass')
-rw-r--r--eclass/chromium.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass
index 38bcc9e50579..1d442f4df6f9 100644
--- a/eclass/chromium.eclass
+++ b/eclass/chromium.eclass
@@ -34,9 +34,10 @@ chromium_suid_sandbox_check_kernel_config() {
ERROR_USER_NS="USER_NS is required for sandbox to work"
ERROR_SECCOMP_FILTER="SECCOMP_FILTER is required for sandbox to work"
# Warn if the kernel does not support features needed for the browser to work
- # (bug #552576).
+ # (bug #552576, bug #556286).
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"
+ ERROR_CONFIG_COMPAT_VDSO="CONFIG_COMPAT_VDSO causes segfaults (bug #556286)"
+ CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER ~USER_NS ~CONFIG_ADVISE_SYSCALLS ~!CONFIG_COMPAT_VDSO"
check_extra_config
fi
}