Skip to main content

bprm_creds_from_file

Function bprm_creds_from_file 

Source
pub fn bprm_creds_from_file(
    current_task: &CurrentTask,
    elf_state: &mut ResolvedElf,
) -> Result<(), Errno>
Expand description

Updates credentials based on the executable file (e.g., SUID/SGID, capabilities).

Corresponds to the bprm_creds_from_file LSM hook.