task_setrlimit

Function task_setrlimit 

Source
pub fn task_setrlimit(
    source: &CurrentTask,
    target: &Task,
    old_limit: rlimit,
    new_limit: rlimit,
) -> Result<(), Errno>
Expand description

Called before source sets the resource limits of target from old_limit to new_limit. Corresponds to the security_task_setrlimit hook.