summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2013-12-04 04:23:08 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2013-12-04 04:23:08 +0000
commitd41e3a20cda0af15cf976c517a97f6fd68d1f96e (patch)
tree368bfdf119618ca8ad2709d3050b3b67f13da175
parentDev channel bump. Remove old. (diff)
downloadhistorical-d41e3a20cda0af15cf976c517a97f6fd68d1f96e.tar.gz
historical-d41e3a20cda0af15cf976c517a97f6fd68d1f96e.tar.bz2
historical-d41e3a20cda0af15cf976c517a97f6fd68d1f96e.zip
Check SECCOMP_FILTER kernel config option for Chromium sandbox, bug #490550 by ago.
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/chromium.eclass5
2 files changed, 8 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 9fc2459c097b..7c67decfe017 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1078 2013/12/03 20:00:39 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1079 2013/12/04 04:23:08 phajdan.jr Exp $
+
+ 04 Dec 2013; Pawel Hajdan jr <phajdan.jr@gentoo.org> chromium.eclass:
+ Check SECCOMP_FILTER kernel config option for Chromium sandbox, bug #490550
+ by ago.
03 Dec 2013; Mike Gilbert <floppym@gentoo.org> distutils-r1.eclass:
Remove pointless distutils-r1_python_test function.
diff --git a/eclass/chromium.eclass b/eclass/chromium.eclass
index 906968ae1abb..7d5a4c190c63 100644
--- a/eclass/chromium.eclass
+++ b/eclass/chromium.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.8 2013/08/11 02:42:54 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/chromium.eclass,v 1.9 2013/12/04 04:23:08 phajdan.jr Exp $
# @ECLASS: chromium.eclass
# @MAINTAINER:
@@ -31,7 +31,8 @@ chromium_suid_sandbox_check_kernel_config() {
# Bug #363987.
ERROR_PID_NS="PID_NS is required for sandbox to work"
ERROR_NET_NS="NET_NS is required for sandbox to work"
- CONFIG_CHECK="~PID_NS ~NET_NS"
+ ERROR_SECCOMP_FILTER="SECCOMP_FILTER is required for sandbox to work"
+ CONFIG_CHECK="~PID_NS ~NET_NS ~SECCOMP_FILTER"
check_extra_config
fi
}