pub fn file_open(
current_task: &CurrentTask,
file: &FileObject,
) -> Result<(), Errno>Expand description
Checks whether the current_task is allowed to open file.
Corresponds to the file_open() LSM hook.
pub fn file_open(
current_task: &CurrentTask,
file: &FileObject,
) -> Result<(), Errno>Checks whether the current_task is allowed to open file.
Corresponds to the file_open() LSM hook.