Skip to content

Commit df66aea

Browse files
committed
Merge tag 'seccomp-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull seccomp update from Kees Cook: - Provide stub for !HAVE_ARCH_SECCOMP_FILTER (Linus Walleij) This will make it easier to port arm32 to the generic entry code. * tag 'seccomp-v6.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: seccomp: Stub for !HAVE_ARCH_SECCOMP_FILTER
2 parents 18a411c + 8cf8dfc commit df66aea

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/linux/seccomp.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ static inline int secure_computing(void)
3232
}
3333
#else
3434
extern void secure_computing_strict(int this_syscall);
35+
static inline int __secure_computing(const struct seccomp_data *sd)
36+
{
37+
secure_computing_strict(sd->nr);
38+
return 0;
39+
}
3540
#endif
3641

3742
extern long prctl_get_seccomp(void);

0 commit comments

Comments
 (0)