Lines Matching refs:nl
421 const struct nlmsghdr *nl = buffer; in server_process_audit_message() local
433 sa->nl.nl_family != AF_NETLINK || in server_process_audit_message()
434 sa->nl.nl_pid != 0) { in server_process_audit_message()
444 if (!NLMSG_OK(nl, buffer_size)) { in server_process_audit_message()
450 if (IN_SET(nl->nlmsg_type, NLMSG_NOOP, NLMSG_ERROR)) in server_process_audit_message()
454 if (nl->nlmsg_type < AUDIT_FIRST_USER_MSG && nl->nlmsg_type != AUDIT_USER) in server_process_audit_message()
457 …process_audit_string(s, nl->nlmsg_type, NLMSG_DATA(nl), nl->nlmsg_len - ALIGN(sizeof(struct nlmsgh… in server_process_audit_message()
477 .nl.nl_family = AF_NETLINK, in enable_audit()
478 .nl.nl_pid = 0, in enable_audit()
488 .msg_namelen = sizeof(sa.nl), in enable_audit()
510 .nl.nl_family = AF_NETLINK, in server_open_audit()
511 .nl.nl_pid = 0, in server_open_audit()
512 .nl.nl_groups = AUDIT_NLGRP_READLOG, in server_open_audit()
525 if (bind(s->audit_fd, &sa.sa, sizeof(sa.nl)) < 0) { in server_open_audit()