pub fn check_socket_connect_access(
current_task: &CurrentTask,
socket: DowncastedFile<'_, SocketFile>,
socket_peer: &SocketPeer,
) -> Result<(), Errno>Expand description
Checks if the current_task is allowed to initiate a connection with socket.
Corresponds to the socket_connect() LSM hook.