check_socket_setsockopt_access

Function check_socket_setsockopt_access 

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

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