pub fn fs_node_notify_security_context(
current_task: &CurrentTask,
fs_node: &FsNode,
context: &FsStr,
) -> Result<(), Errno>Expand description
Applies the given label to the given node without checking any permissions.
Used by file-system implementations to set the label for a node, for example when it has
prefetched the label in the xattr rather than letting it get fetched by
fs_node_init_with_dentry later. Calling this doesn’t need to exclude the use of
fs_node_init_with_dentry, it will just turn that call into a fast no-op.
Corresponds to the inode_notifysecctx LSM hook.