pub fn check_socket_create_access(
current_task: &CurrentTask,
domain: SocketDomain,
socket_type: SocketType,
protocol: SocketProtocol,
kernel_private: bool,
) -> Result<(), Errno>Expand description
Checks if creating a socket is allowed.
Corresponds to the socket_create() LSM hook.