sb_umount

Function sb_umount 

Source
pub fn sb_umount(
    current_task: &CurrentTask,
    node: &NamespaceNode,
    flags: UnmountFlags,
) -> Result<(), Errno>
Expand description

Checks if current_task has the permission to unmount the filesystem mounted on node using the unmount flags flags. Corresponds to the sb_umount() LSM hook.