CHROMIUM: Fix bad forward port of seccomp PTRACE_O_MASK
authorWill Drewry <wad@chromium.org>
Wed, 6 Jun 2012 16:56:01 +0000 (11:56 -0500)
committerGerrit <chrome-bot@google.com>
Wed, 6 Jun 2012 23:11:04 +0000 (16:11 -0700)
commit087049a56a6b0b02f233ac825d478b1957761bb8
tree6e51502815a51e7520a37a1576dc860f624193e8
parent3443727ee459de6e0ddb7327863ffd17b8615009
CHROMIUM: Fix bad forward port of seccomp PTRACE_O_MASK

Make the mask 0xff and not 0x7f.  Without the change, it
is impossible to use PTRACE_O_TRACESECCOMP.

We should drop this and the original ported change and take
upstreams when we roll to 3.5+.

Signed-off-by: Will Drewry <wad@chromium.org>
TEST=seccomp_tests
BUG=none?

Change-Id: I4c7eb15d3b026203878e4f84ba23cbea28899c36
Reviewed-on: https://gerrit.chromium.org/gerrit/24649
Reviewed-by: Olof Johansson <olofj@chromium.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Jorge Lucangeli Obes <jorgelo@chromium.org>
Tested-by: Will Drewry <wad@chromium.org>
Commit-Ready: Will Drewry <wad@chromium.org>
include/linux/ptrace.h