Skip to content
Snippets Groups Projects
Commit 9da5d174 authored by Ali Polatel's avatar Ali Polatel Committed by Tom Hromatka
Browse files

system: 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 the along as well.

Reference on where the check happens in the kernel:
https://github.com/torvalds/linux/blob/aea6bf908d730b01bd264a8821159db9463c111c/kernel/seccomp.c#L1926-L1932



Signed-off-by: default avatarAli Polatel <alip@chesswob.org>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Signed-off-by: default avatarTom Hromatka <tom.hromatka@oracle.com>
parent 99bd9e5a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment