pub fn check_socket_getsockname_access(
current_task: &CurrentTask,
socket: &Socket,
) -> Result<(), Errno>Expand description
Checks if the current_task is allowed to get the local name of socket.
Corresponds to the socket_getsockname() LSM hook.