libseccomp
libseccomp copied to clipboard
BUG: fix detection of WAIT_KILLABLE_RECV flag
The kernel returns EINVAL when this flag is passed to seccomp without the new listener flag so we should pass this flag along as well.
Reference on where the check happens in the kernel: https://github.com/torvalds/linux/blob/aea6bf908d730b01bd264a8821159db9463c111c/kernel/seccomp.c#L1926-L1932