Closed alip closed 4 months ago
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
Pushed to main in commit 9da5d174e3ef. Thanks, @alip
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