Skip to main content

bprm_creds_for_exec

Function bprm_creds_for_exec 

Source
pub fn bprm_creds_for_exec(
    current_task: &CurrentTask,
    resolved_program: &mut ResolvedProgram,
) -> Result<(), Errno>
Expand description

Checks permissions for execve, updating [ResolvedProgram] with the post-exec security state if allowed.

Corresponds to the bprm_creds_for_exec() LSM hook.