Backport of Seccomp-bpf ("mode filter") from Linux

kernel 3.8 and ChromiumOS "thirdparty" 3.4:
http://git.chromium.org/gitweb/?p=chromiumos/third_party/kernel.git
BUG: 790923