check_netlink_send_access

Function check_netlink_send_access 

Source
pub fn check_netlink_send_access(
    current_task: &CurrentTask,
    socket: &Socket,
    message_type: u16,
) -> Result<(), Errno>
Expand description

Checks if the current_task is allowed to send a message of message_type on the Netlink socket. Corresponds to the netlink_send() LSM hook.