Skip to content
  • Jonathan Callen's avatar
    execute: Fix seccomp support on x32 · 843fc7f7
    Jonathan Callen authored
    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.]
    843fc7f7