pub fn fs_node_copy_up<R>(
current_task: &CurrentTask,
fs_node: &FsNode,
do_copy_up: impl FnOnce() -> R,
) -> RExpand description
Sets the security context of CurrentTask to be appropriate for a copy up operation
on fs_node, then call do_copy_up.
The task’s security context will be reset before returning.
Corresponds to the security_inode_copy_up() LSM hook.