Skip to main content

apply_privileged_mode

Function apply_privileged_mode 

Source
pub fn apply_privileged_mode(
    sc: SecurityContext,
    psc: Option<PodSecurityContext>,
    privileged_mode: Option<bool>,
    op: MoverOperation,
) -> (SecurityContext, Option<PodSecurityContext>, PrivilegedModeEffect)
Expand description

Apply privilegedMode to a resolved mover context (see the module docs for the contract). Pure and idempotent. Only ever touches capabilities — never the UID.