linux/arch/csky/include/asm
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>
History 2025-08-28 16:24:03 +02:00
..
vdso csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
addrspace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
asid.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
barrier.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
bitops.h csky: bitops: Remove duplicate __clear_bit define 2021-10-16 07:20:12 +08:00
bug.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
cache.h csky: Support icache flush without specific instructions 2020-02-21 15:43:24 +08:00
cacheflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
checksum.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
clocksource.h csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO 2021-02-27 16:35:09 +08:00
cmpxchg.h locking/atomic: csky: move to ARCH_ATOMIC 2021-05-26 13:20:51 +02:00
elf.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
fixmap.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
ftrace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
futex.h csky: Fixup futex SMP implementation 2021-01-12 09:52:40 +08:00
highmem.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
io.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
irq_work.h arch: consolidate arch_irq_work_raise prototypes 2024-02-23 08:54:39 +01:00
irqflags.h csky: IRQ handling 2018-10-26 00:54:22 +08:00
Kbuild csky: uaccess.h: Coding convention with asm generic 2021-04-28 23:02:23 +08:00
kprobes.h csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
memory.h csky: Add memory layout 2.5G(user):1.5G(kernel) 2021-01-12 09:52:40 +08:00
mmu.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
mmu_context.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
page.h csky: change a Kconfig symbol name to fix e1000 build error 2021-04-16 16:10:36 -07:00
pci.h csky: Add PCI support 2020-02-21 15:43:25 +08:00
perf_event.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
pgalloc.h mm/thp: define default pmd_pgtable() 2021-07-01 11:06:03 -07:00
pgtable.h mm: define default value for FIRST_USER_ADDRESS 2021-07-01 11:06:02 -07:00
probes.h csky: Add kprobes supported 2020-04-03 11:14:17 +08:00
processor.h sched: Add wrapper for get_wchan() to keep task blocked 2025-08-28 16:24:03 +02:00
ptrace.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
reg_ops.h csky: Misc headers 2018-10-26 00:54:26 +08:00
seccomp.h csky: Enable seccomp architecture tracking 2020-11-20 11:16:34 -08:00
segment.h csky: uaccess.h: Coding convention with asm generic 2021-04-28 23:02:23 +08:00
shmparam.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
smp.h csky: CPU-hotplug supported for SMP 2018-12-31 23:03:53 +08:00
spinlock.h csky: Cleanup asm/spinlock.h 2021-01-12 09:52:40 +08:00
spinlock_types.h csky: Cleanup asm/spinlock.h 2021-01-12 09:52:40 +08:00
stackprotector.h csky: Initial stack protector support 2020-02-21 15:43:24 +08:00
string.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
switch_to.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
syscall.h arch/csky patches for 5.2-rc1 2019-05-08 11:41:08 -07:00
syscalls.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tcm.h treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
thread_info.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tlb.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
tlbflush.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
traps.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
uaccess.h uaccess: fix integer overflow on access_ok() 2022-03-28 09:58:45 +02:00
unistd.h csky: Fixup compile error 2021-02-27 22:04:14 +08:00
uprobes.h csky: Add uprobes support 2020-04-03 11:37:51 +08:00
vdso.h csky: Fixup typos 2021-04-20 09:58:29 +08:00
vmalloc.h mm/vmalloc: Add empty <asm/vmalloc.h> headers and use them from <linux/vmalloc.h> 2019-12-10 10:12:55 +01:00