audit_log_end (9) - Linux Man Pages
audit_log_end: end one audit record
audit_log_end - end one audit record
void audit_log_end(struct audit_buffer
- the audit_buffer
netlink_unicast cannot be called inside an irq context because it blocks (last arg, flags, is not set to MSG_DONTWAIT), so the audit buffer is placed on a queue and a tasklet is scheduled to remove them from the queue outside the irq context. May be called in any context.