nordisk/edda
crates/nornir-purgatory/tests/fixtures/kernel-mini/kernel/seccomp.c
// SPDX-License-Identifier: GPL-2.0
/*
* linux/kernel/seccomp.c — stub for nornir-purgatory's fixture tree.
*/
#include <linux/syscalls.h>
/* Common entry point for both prctl and syscall. */
static long do_seccomp(unsigned int op, unsigned int flags,
void __user *uargs)
{
return -EINVAL;
}
SYSCALL_DEFINE3(seccomp, unsigned int, op, unsigned int, flags,
void __user *, uargs)
{
return do_seccomp(op, flags, uargs);
}