chiark / gitweb /
execute: Fix seccomp support on x32
authorJonathan Callen <abcd@gentoo.org>
Wed, 25 Jul 2012 02:45:22 +0000 (22:45 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 19 Jan 2013 17:03:06 +0000 (12:03 -0500)
In the x32 ABI, syscall numbers start at 0x40000000.  Mask that bit on
x32 for lookups in the syscall_names array and syscall_filter and ensure
that syscall.h is parsed correctly.

[zj: added SYSCALL_TO_INDEX, INDEX_TO_SYSCALL macros.]


No differences found