Files
kernel_samsung_a71/kernel/sched
Peter Zijlstra 9e48f78dfa UPSTREAM: bpf: check that BPF programs run with preemption disabled
Introduce cant_sleep() macro for annotation of functions that
cannot sleep.

Use it in BPF_PROG_RUN to catch execution of BPF programs in
preemptable context.

Suggested-by: Jann Horn <jannh@google.com>
Change-Id: If46f95bfbb77de85daf1db948927a72460010d07
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2025-10-02 22:14:34 +08:00
..
2024-05-13 18:30:34 +02:00
2024-05-13 18:30:34 +02:00
2024-05-13 18:30:34 +02:00
2024-05-13 18:30:34 +02:00