check_socket_sendmsg_access

Function check_socket_sendmsg_access 

Source
pub fn check_socket_sendmsg_access(
    current_task: &CurrentTask,
    socket: &Socket,
) -> Result<(), Errno>
Expand description

Checks if the current_task is allowed to send a message on socket. Corresponds to the socket_sendmsg() LSM hook.