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
This commit is contained in:
@@ -32,6 +32,11 @@ static inline int secure_computing(void)
|
||||
}
|
||||
#else
|
||||
extern void secure_computing_strict(int this_syscall);
|
||||
static inline int __secure_computing(const struct seccomp_data *sd)
|
||||
{
|
||||
secure_computing_strict(sd->nr);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern long prctl_get_seccomp(void);
|
||||
|
||||
Reference in New Issue
Block a user