linux/arch/mips
Oleg Nesterov 0fe1ebf3f0 seccomp/mips: change syscall_trace_enter() to use secure_computing()
arch/mips/Kconfig selects HAVE_ARCH_SECCOMP_FILTER so syscall_trace_enter()
can just use __secure_computing(NULL) and rely on populate_seccomp_data(sd)
and "sd == NULL" checks in __secure_computing(sd) paths.

With the change above syscall_trace_enter() can just use secure_computing()
and avoid #ifdef + test_thread_flag(TIF_SECCOMP). CONFIG_GENERIC_ENTRY is
not defined, so test_syscall_work(SECCOMP) will check TIF_SECCOMP.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250128150300.GA15318@redhat.com
Signed-off-by: Kees Cook <kees@kernel.org>
2025-02-10 09:26:22 -08:00
..
alchemy MIPS: Remove unused function dump_au1000_dma_channel() in dma.c 2024-08-29 10:38:18 +02:00
ath25
ath79
bcm47xx mips: bmips: setup: make CBR address configurable 2024-06-27 10:44:32 +02:00
bcm63xx gpiolib: legacy: Kill GPIOF_INIT_* definitions 2024-09-02 11:47:06 +02:00
bmips mips: bmips: setup: make CBR address configurable 2024-06-27 10:44:32 +02:00
boot Char/Misc/IIO driver updates for 6.14-rc1 2025-01-27 16:51:51 -08:00
cavium-octeon
cobalt
configs This update includes the following changes: 2025-01-24 07:48:10 -08:00
crypto mips/crc32: expose CRC32 functions through lib 2024-12-01 17:23:01 -08:00
dec
fw
generic mips: generic: add fdt fixup for Realtek reference board 2024-07-12 13:12:13 +02:00
include Cleanups and fixes 2025-01-27 09:00:25 -08:00
ingenic
jazz mips/jazz: remove unused jazz_handle_int() declaration 2024-08-29 10:39:00 +02:00
kernel seccomp/mips: change syscall_trace_enter() to use secure_computing() 2025-02-10 09:26:22 -08:00
kvm KVM: MIPS: Use kvm_faultin_pfn() to map pfns into the guest 2024-10-25 13:00:49 -04:00
lantiq MIPS: lantiq: improve USB initialization 2024-07-12 13:04:24 +02:00
lib mips/crc32: expose CRC32 functions through lib 2024-12-01 17:23:01 -08:00
loongson2ef
loongson32
loongson64 MIPS: Loongson64: env: Use str_on_off() helper in prom_lefi_init_env() 2025-01-20 20:27:54 +01:00
math-emu mips/math-emu: fix emulation of the prefx instruction 2025-01-11 12:49:05 +01:00
mm asm-generic: pgalloc: provide generic __pgd_{alloc,free} 2025-01-25 20:22:24 -08:00
mobileye
mti-malta
n64
net
pci Cleanups and fixes 2025-01-27 09:00:25 -08:00
pic32
power
ralink clocksource/drivers/ralink: Add Ralink System Tick Counter driver 2024-11-13 13:49:33 +01:00
rb532
sgi-ip22 mips: sgi-ip22: Replace "s[n]?printf" with sysfs_emit in sysfs callbacks 2024-10-30 23:45:17 +01:00
sgi-ip27 arch, mm: move definition of node_data to generic code 2024-09-03 21:15:28 -07:00
sgi-ip30 MIPS: ip30: ip30-console: Add missing include 2024-06-19 13:09:35 +02:00
sgi-ip32
sibyte mips: sibyte: add missing MODULE_DESCRIPTION() macro 2024-07-23 09:47:40 +02:00
sni
tools
txx9
vdso MIPS: vdso: Avoid name conflict around "vdso_data" 2024-11-02 12:37:33 +01:00
Kbuild
Kbuild.platforms
Kconfig Cleanups and fixes 2025-01-27 09:00:25 -08:00
Kconfig.debug
Makefile MIPS: migrate to generic rule for built-in DTBs 2025-01-11 13:53:42 +01:00
Makefile.postlink