libseccomp icon indicating copy to clipboard operation
libseccomp copied to clipboard

BUG: fix detection of WAIT_KILLABLE_RECV flag

Open alip opened this issue 2 years ago • 0 comments

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

alip avatar Nov 04 '23 19:11 alip