Skip to main content

bprm_committing_creds

Function bprm_committing_creds 

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

Applies pre-commit security restrictions (such as revoking inaccessible file descriptors) immediately before [ResolvedProgram::creds] are committed to the calling task.

Corresponds to the bprm_committing_creds() LSM hook.