pub fn sb_mount(
current_task: &CurrentTask,
path: &NamespaceNode,
flags: MountFlags,
) -> Result<(), Errno>Expand description
Check permission before mounting to path. flags contains the mount flags that determine the
kind of mount operation done, and therefore the permissions that the caller requires.
Corresponds to the sb_mount() LSM hook.