check_socket_shutdown_access

Function check_socket_shutdown_access 

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

Checks if the current_task is allowed to shutdown socket. Corresponds to the socket_shutdown() LSM hook.