aya-rs/book

lsm-nice-ebpf: is the deny condition for renice correctly implemented?

Closed this issue · 0 comments

p-alik commented

An attempt to reproduce renice with negative value for LSM example failed.
The first part of the condition is false

if (*p).pid == core::ptr::read_volatile(&PID) && nice < 0 {

because of