check_socket_getsockopt_access

Function check_socket_getsockopt_access 

Source
pub fn check_socket_getsockopt_access(
    current_task: &CurrentTask,
    socket: &Socket,
    level: u32,
    optname: u32,
) -> Result<(), Errno>
Expand description

Checks if the current_task is allowed to get socket options on socket. Corresponds to the socket_getsockopt() LSM hook.