sandlock
sandlock copied to clipboard
Reject x32 syscall numbers in the x86_64 seccomp filter
On x86_64 kernels with x32 ABI enabled, syscall numbers with __X32_SYSCALL_BIT (0x40000000) set can miss the filter’s exact-number notification and deny checks, then fall through to allow. The filter logic supports this concern, but my test machine has x32 disabled, so I could not reproduce it so far.