CHROMIUM: x86: add HAVE_SECCOMP_FILTER and seccomp_execve
authorWill Drewry <wad@chromium.org>
Mon, 27 Jun 2011 16:12:28 +0000 (11:12 -0500)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 2 Apr 2012 20:13:17 +0000 (13:13 -0700)
commite322e857cb04bf64236bd78db82d053191c1c769
tree65fc2fd5f1fc40cea52da178c958d55a17e96a77
parentcbf344e1a4de086a93847d407b2ae3c51e08bddc
CHROMIUM: x86: add HAVE_SECCOMP_FILTER and seccomp_execve

BugLink: http://bugs.launchpad.net/bugs/887780

Adds support to the x86 architecture by providing a compatibility
mode wrapper for sys_execve's number and selecting HAVE_SECCOMP_FILTER

v9: rebase on to bccaeafd7c117acee36e90d37c7e05c19be9e7bf

Signed-off-by: Will Drewry <wad@chromium.org>
BUG=chromium-os:14496
TEST=see others ref'd in bug

Change-Id: Id0e8440181e98f7edb12ef702f2f6bdca54d15a6
Reviewed-on: http://gerrit.chromium.org/gerrit/3244
Reviewed-by: Sonny Rao <sonnyrao@chromium.org>
Tested-by: Will Drewry <wad@chromium.org>
Signed-off-by: Kees Cook <kees.cook@canonical.com>
arch/x86/Kconfig
arch/x86/include/asm/ia32_unistd.h
arch/x86/include/asm/seccomp_64.h