pub fn selinuxfs_policy_loaded<L>(
locked: &mut Locked<L>,
current_task: &CurrentTask,
)where
L: LockEqualOrBefore<FileOpsCore>,Expand description
Called by the “selinuxfs” when a policy has been successfully loaded, to allow policy-dependent initialization to be completed. This includes resolving labeling schemes and state for file-systems mounted prior to policy load (e.g. the “selinuxfs” itself), and initializing security state for any file nodes they may already contain.