Slide 7
Slide 7 text
Constraints of Non-Sleepable Context
● Most BPF hooks (e.g., kprobe, tracepoint) run in non-
sleepable contexts
● Page faults (which require sleeping) are not allowed
● Therefore, bpf_probe_read_user_str() cannot fault in a
page, resulting in -EFAULT