Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 505ce68c authored by Mickaël Salaün's avatar Mickaël Salaün Committed by Shuah Khan
Browse files

selftest/seccomp: Fix the seccomp(2) signature



Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Kees Cook <keescook@chromium.org>
Cc: Shuah Khan <shuahkh@osg.samsung.com>
Cc: Will Drewry <wad@chromium.org>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarShuah Khan <shuahkh@osg.samsung.com>
parent 6c045d07
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1502,10 +1502,10 @@ TEST_F(TRACE_syscall, syscall_dropped)
#endif

#ifndef seccomp
int seccomp(unsigned int op, unsigned int flags, struct sock_fprog *filter)
int seccomp(unsigned int op, unsigned int flags, void *args)
{
	errno = 0;
	return syscall(__NR_seccomp, op, flags, filter);
	return syscall(__NR_seccomp, op, flags, args);
}
#endif