fs_node_listsecurity

Function fs_node_listsecurity 

Source
pub fn fs_node_listsecurity(
    current_task: &CurrentTask,
    fs_node: &FsNode,
) -> Option<FsString>
Expand description

If SELinux is enabled and fs_node is in a filesystem without xattr support, returns the xattr name for the security label associated with inode. Otherwise returns None.

This hook is called from the listxattr syscall.

Corresponds to the inode_listsecurity() LSM hook.