mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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:
commit
df66aeadd8
@ -32,6 +32,11 @@ static inline int secure_computing(void)
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
extern void secure_computing_strict(int this_syscall);
|
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
|
#endif
|
||||||
|
|
||||||
extern long prctl_get_seccomp(void);
|
extern long prctl_get_seccomp(void);
|
||||||
|
Loading…
Reference in New Issue
Block a user