check_file_fcntl_access

Function check_file_fcntl_access 

Source
pub fn check_file_fcntl_access(
    current_task: &CurrentTask,
    file: &FileObject,
    fcntl_cmd: u32,
    fcntl_arg: u64,
) -> Result<(), Errno>
Expand description

Returns whether current_task has the permissions to execute this fcntl syscall. Corresponds to the file_fcntl() LSM hook.