unix_may_send

Function unix_may_send 

Source
pub fn unix_may_send(
    current_task: &CurrentTask,
    sending_socket: &Socket,
    receiving_socket: &Socket,
) -> Result<(), Errno>
Expand description

Checks if the Unix domain sending_socket is allowed to send a message to the receiving_socket. Corresponds to the unix_may_send() LSM hook.