ptrace_access_check

Function ptrace_access_check 

Source
pub fn ptrace_access_check(
    current_task: &CurrentTask,
    tracee_task: &Task,
    mode: PtraceAccessMode,
) -> Result<(), Errno>
Expand description

Checks whether the current current_task is allowed to trace tracee_task. Corresponds to the ptrace_access_check() LSM hook.