Returning EINVAL would make sense, as that's what a pre-seccomp kernel or a kernel built without seccomp support would do.
Returning EINVAL would make sense, as that's what a pre-seccomp kernel or a kernel built without seccomp support would do.