linux-yocto/arch/arm/kernel
Kees Cook 5ce1264b58 sched: Add wrapper for get_wchan() to keep task blocked
commit 42a20f86dc upstream.

Having a stable wchan means the process must be blocked and for it to
stay that way while performing stack unwinding.

Suggested-by: Peter Zijlstra <peterz@infradead.org>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> [arm]
Tested-by: Mark Rutland <mark.rutland@arm.com> [arm64]
Link: https://lkml.kernel.org/r/20211008111626.332092234@infradead.org
Signed-off-by: Siddhi Katage <siddhi.katage@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-28 16:24:03 +02:00
..
.gitignore
arch_timer.c
armksyms.c
asm-offsets.c ARM development updates for 5.15: 2021-09-09 13:25:49 -07:00
atags_compat.c
atags_parse.c
atags_proc.c
atags.h
bios32.c
bugs.c ARM: cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:58:30 +02:00
cpuidle.c
crash_dump.c
debug.S
devtree.c
dma-isa.c
dma.c
early_printk.c
efi.c
elf.c
entry-armv.S ARM: 9197/1: spectre-bhb: fix loop8 sequence for Thumb2 2022-05-25 09:57:33 +02:00
entry-common.S ARM: ptrace: Restore syscall restart tracing 2023-09-19 12:22:30 +02:00
entry-ftrace.S ARM: ftrace: avoid redundant loads or clobbering IP 2022-04-08 14:24:00 +02:00
entry-header.S
entry-v7m.S printk: Userspace format indexing support 2021-07-19 11:57:48 +02:00
fiq.c
fiqasm.S
ftrace.c ARM: 9079/1: ftrace: Add MODULE_PLTS support 2021-06-07 12:56:20 +01:00
head-common.S
head-inflate-data.c
head-nommu.S ARM: 9160/1: NOMMU: Reload __secondary_data after PROCINFO_INITFUNC 2021-12-29 12:28:48 +01:00
head.S ARM: 9420/1: smp: Fix SMP for xip kernels 2024-12-14 19:50:41 +01:00
hibernate.c
hw_breakpoint.c hw_breakpoint: fix single-stepping when using bpf_overflow_handler 2023-09-23 11:09:55 +02:00
hyp-stub.S
insn.c ARM: 9078/1: Add warn suppress parameter to arm_gen_branch_link() 2021-06-07 12:56:20 +01:00
io.c
irq.c genirq: Move non-irqdomain handle_domain_irq() handling into ARM's handle_IRQ() 2021-06-10 13:09:19 +01:00
isa.c
iwmmxt.h
iwmmxt.S
jump_label.c
kgdb.c ARM: Fix kgdb breakpoint for Thumb2 2022-03-08 19:12:48 +01:00
machine_kexec.c ARM: 9317/1: kexec: Make smp stop calls asynchronous 2023-09-23 11:09:58 +02:00
Makefile ARM: report Spectre v2 status through sysfs 2022-03-11 12:22:32 +01:00
module-plts.c ARM: module: Use module_init_layout_section() to spot init sections 2023-09-02 09:17:07 +02:00
module.c
opcodes.c
paravirt.c
patch.c
perf_callchain.c perf: Protect perf_guest_cbs with RCU 2022-01-20 09:13:14 +01:00
perf_event_v6.c
perf_event_v7.c arm_pmu: Fix write counter incorrect in ARMv7 big-endian mode 2021-06-01 14:17:01 +01:00
perf_event_xscale.c
perf_regs.c
phys2virt.S
pj4-cp0.c
process.c sched: Add wrapper for get_wchan() to keep task blocked 2025-08-28 16:24:03 +02:00
psci_smp.c ARM: 9420/1: smp: Fix SMP for xip kernels 2024-12-14 19:50:41 +01:00
ptrace.c ARM: ptrace: Restore syscall skipping for tracers 2023-09-19 12:22:30 +02:00
reboot.c ARM: 9096/1: Remove arm_pm_restart() 2021-06-13 18:16:48 +01:00
reboot.h
relocate_kernel.S
return_address.c
setup.c memblock: make memblock_find_in_range method private 2021-09-03 09:58:17 -07:00
signal.c signal: Deliver SIGTRAP on perf event asynchronously if blocked 2022-06-09 10:22:48 +02:00
signal.h
sigreturn_codes.S
sleep.S ARM: 9381/1: kasan: clear stale stack poison 2024-05-17 11:50:57 +02:00
smccc-call.S
smp_scu.c
smp_tlb.c
smp_twd.c
smp.c ARM: remove some dead code 2022-08-17 14:24:23 +02:00
spectre.c ARM: fix build error when BPF_SYSCALL is disabled 2022-03-11 12:22:35 +01:00
stacktrace.c ARM: 9191/1: arm/stacktrace, kasan: Silence KASAN warnings in unwind_frame() 2022-05-25 09:57:26 +02:00
suspend.c
swp_emulate.c uaccess: fix type mismatch warnings from access_ok() 2022-04-08 14:24:01 +02:00
sys_arm.c
sys_oabi-compat.c ARM: 9110/1: oabi-compat: fix oabi epoll sparse warning 2021-08-20 11:39:27 +01:00
tcm.c
thumbee.c
time.c
topology.c
traps.c exit: Add and use make_task_dead. 2023-02-01 08:27:20 +01:00
unwind.c ARM: 9295/1: unwind:fix unwind abort for uleb128 case 2023-06-09 10:32:20 +02:00
v7m.c
vdso.c
vmlinux-xip.lds.S ARM: 9141/1: only warn about XIP address when not compile testing 2021-10-19 10:39:50 +01:00
vmlinux.lds.S ARM: 9088/1: Split KERNEL_OFFSET from PAGE_OFFSET 2021-06-13 18:16:40 +01:00
xscale-cp0.c