seccomp update for v6.13-rc1

- Provide stub for !HAVE_ARCH_SECCOMP_FILTER (Linus Walleij)
 -----BEGIN PGP SIGNATURE-----
 
 iHUEABYKAB0WIQRSPkdeREjth1dHnSE2KwveOeQkuwUCZzzEewAKCRA2KwveOeQk
 uwp6AP98Sv73J57WD09zKPFS7xHqTyWgfemD9M8RPSMIgkudBgD9F3tNRqQ2DD6o
 IX6Zv18AObJSKAZ95No65GHVRHtomAY=
 =T7J1
 -----END PGP SIGNATURE-----

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:
Linus Torvalds 2024-11-20 14:36:28 -08:00
commit df66aeadd8

View File

@ -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);