diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-01-14 23:10:17 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-01-14 23:10:17 +0100 |
commit | 619f0b6fad524f08d493a98d55bac9ab8895e3a6 (patch) | |
tree | 32871e3123bc4b4d985b0949dcb469dafbf68688 /include | |
parent | Merge tag 'pci-v6.13-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/gi... (diff) | |
parent | seccomp: Stub for !CONFIG_SECCOMP (diff) | |
download | linux-619f0b6fad524f08d493a98d55bac9ab8895e3a6.tar.xz linux-619f0b6fad524f08d493a98d55bac9ab8895e3a6.zip |
Merge tag 'seccomp-v6.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull seccomp fix from Kees Cook:
"Fix a randconfig failure:
- Unconditionally define stub for !CONFIG_SECCOMP (Linus Walleij)"
* tag 'seccomp-v6.13-rc8' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
seccomp: Stub for !CONFIG_SECCOMP
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/seccomp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/seccomp.h b/include/linux/seccomp.h index 341980599c71..e45531455d3b 100644 --- a/include/linux/seccomp.h +++ b/include/linux/seccomp.h @@ -55,10 +55,10 @@ struct seccomp_data; #ifdef CONFIG_HAVE_ARCH_SECCOMP_FILTER static inline int secure_computing(void) { return 0; } -static inline int __secure_computing(const struct seccomp_data *sd) { return 0; } #else static inline void secure_computing_strict(int this_syscall) { return; } #endif +static inline int __secure_computing(const struct seccomp_data *sd) { return 0; } static inline long prctl_get_seccomp(void) { |