chromium.eclass: add kernel config check for CONFIG_COMPAT_VDSO
authorPawel Hajdan, Jr <phajdan.jr@gentoo.org>
Sun, 20 Sep 2015 18:39:54 +0000 (20:39 +0200)
committerPawel Hajdan, Jr <phajdan.jr@gentoo.org>
Sun, 20 Sep 2015 18:43:18 +0000 (20:43 +0200)
This fixes bug #556286 by Patrice Levesque.

eclass/chromium.eclass

index 38bcc9e50579d0377eaa8627310fcb9e472be0b9..1d442f4df6f90850afebf0738a635746d6e45af4 100644 (file)
@@ -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
 }