/linux-6.1.9/net/netlabel/ |
D | netlabel_user.c | 86 struct audit_buffer *audit_buf; in netlbl_audit_start_common() local 93 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, type); in netlbl_audit_start_common() 94 if (audit_buf == NULL) in netlbl_audit_start_common() 97 audit_log_format(audit_buf, "netlabel: auid=%u ses=%u", in netlbl_audit_start_common() 105 audit_log_format(audit_buf, " subj=%s", secctx); in netlbl_audit_start_common() 109 return audit_buf; in netlbl_audit_start_common()
|
D | netlabel_addrlist.c | 310 void netlbl_af4list_audit_addr(struct audit_buffer *audit_buf, in netlbl_af4list_audit_addr() argument 318 audit_log_format(audit_buf, " netif=%s", dev); in netlbl_af4list_audit_addr() 319 audit_log_format(audit_buf, " %s=%pI4", dir, &addr); in netlbl_af4list_audit_addr() 326 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af4list_audit_addr() 343 void netlbl_af6list_audit_addr(struct audit_buffer *audit_buf, in netlbl_af6list_audit_addr() argument 352 audit_log_format(audit_buf, " netif=%s", dev); in netlbl_af6list_audit_addr() 353 audit_log_format(audit_buf, " %s=%pI6", dir, addr); in netlbl_af6list_audit_addr() 365 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af6list_audit_addr()
|
D | netlabel_unlabeled.c | 376 struct audit_buffer *audit_buf = NULL; in netlbl_unlhsh_add() local 404 audit_buf = netlbl_audit_start_common(AUDIT_MAC_UNLBL_STCADD, in netlbl_unlhsh_add() 412 if (audit_buf != NULL) in netlbl_unlhsh_add() 413 netlbl_af4list_audit_addr(audit_buf, 1, in netlbl_unlhsh_add() 425 if (audit_buf != NULL) in netlbl_unlhsh_add() 426 netlbl_af6list_audit_addr(audit_buf, 1, in netlbl_unlhsh_add() 440 if (audit_buf != NULL) { in netlbl_unlhsh_add() 444 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_add() 447 audit_log_format(audit_buf, " res=%u", ret_val == 0 ? 1 : 0); in netlbl_unlhsh_add() 448 audit_log_end(audit_buf); in netlbl_unlhsh_add() [all …]
|
D | netlabel_domainhash.c | 214 struct audit_buffer *audit_buf; in netlbl_domhsh_audit_add() local 219 audit_buf = netlbl_audit_start_common(AUDIT_MAC_MAP_ADD, audit_info); in netlbl_domhsh_audit_add() 220 if (audit_buf != NULL) { in netlbl_domhsh_audit_add() 221 audit_log_format(audit_buf, " nlbl_domain=%s", in netlbl_domhsh_audit_add() 228 netlbl_af4list_audit_addr(audit_buf, 0, NULL, in netlbl_domhsh_audit_add() 236 netlbl_af6list_audit_addr(audit_buf, 0, NULL, in netlbl_domhsh_audit_add() 246 audit_log_format(audit_buf, " nlbl_protocol=unlbl"); in netlbl_domhsh_audit_add() 250 audit_log_format(audit_buf, in netlbl_domhsh_audit_add() 256 audit_log_format(audit_buf, in netlbl_domhsh_audit_add() 261 audit_log_format(audit_buf, " res=%u", result == 0 ? 1 : 0); in netlbl_domhsh_audit_add() [all …]
|
D | netlabel_addrlist.h | 110 void netlbl_af4list_audit_addr(struct audit_buffer *audit_buf, 114 static inline void netlbl_af4list_audit_addr(struct audit_buffer *audit_buf, in netlbl_af4list_audit_addr() argument 178 void netlbl_af6list_audit_addr(struct audit_buffer *audit_buf, 184 static inline void netlbl_af6list_audit_addr(struct audit_buffer *audit_buf, in netlbl_af6list_audit_addr() argument
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_state.c | 2780 struct audit_buffer *audit_buf) in xfrm_audit_helper_sainfo() argument 2786 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_helper_sainfo() 2791 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_sainfo() 2795 audit_log_format(audit_buf, " src=%pI6 dst=%pI6", in xfrm_audit_helper_sainfo() 2800 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_helper_sainfo() 2804 struct audit_buffer *audit_buf) in xfrm_audit_helper_pktinfo() argument 2812 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_pktinfo() 2817 audit_log_format(audit_buf, in xfrm_audit_helper_pktinfo() 2829 struct audit_buffer *audit_buf; in xfrm_audit_state_add() local 2831 audit_buf = xfrm_audit_start("SAD-add"); in xfrm_audit_state_add() [all …]
|
D | xfrm_policy.c | 4182 struct audit_buffer *audit_buf) in xfrm_audit_common_policyinfo() argument 4188 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_common_policyinfo() 4193 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4); in xfrm_audit_common_policyinfo() 4195 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo() 4197 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4); in xfrm_audit_common_policyinfo() 4199 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo() 4203 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6); in xfrm_audit_common_policyinfo() 4205 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo() 4207 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6); in xfrm_audit_common_policyinfo() 4209 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo() [all …]
|
/linux-6.1.9/net/ipv6/ |
D | calipso.c | 354 struct audit_buffer *audit_buf; in calipso_doi_add() local 375 audit_buf = netlbl_audit_start(AUDIT_MAC_CALIPSO_ADD, audit_info); in calipso_doi_add() 376 if (audit_buf) { in calipso_doi_add() 386 audit_log_format(audit_buf, in calipso_doi_add() 389 audit_log_end(audit_buf); in calipso_doi_add() 441 struct audit_buffer *audit_buf; in calipso_doi_remove() local 457 audit_buf = netlbl_audit_start(AUDIT_MAC_CALIPSO_DEL, audit_info); in calipso_doi_remove() 458 if (audit_buf) { in calipso_doi_remove() 459 audit_log_format(audit_buf, in calipso_doi_remove() 462 audit_log_end(audit_buf); in calipso_doi_remove()
|
/linux-6.1.9/net/ipv4/ |
D | cipso_ipv4.c | 389 struct audit_buffer *audit_buf; in cipso_v4_doi_add() local 431 audit_buf = netlbl_audit_start(AUDIT_MAC_CIPSOV4_ADD, audit_info); in cipso_v4_doi_add() 432 if (audit_buf) { in cipso_v4_doi_add() 447 audit_log_format(audit_buf, in cipso_v4_doi_add() 450 audit_log_end(audit_buf); in cipso_v4_doi_add() 514 struct audit_buffer *audit_buf; in cipso_v4_doi_remove() local 530 audit_buf = netlbl_audit_start(AUDIT_MAC_CIPSOV4_DEL, audit_info); in cipso_v4_doi_remove() 531 if (audit_buf) { in cipso_v4_doi_remove() 532 audit_log_format(audit_buf, in cipso_v4_doi_remove() 535 audit_log_end(audit_buf); in cipso_v4_doi_remove()
|
/linux-6.1.9/include/net/ |
D | xfrm.h | 682 struct audit_buffer *audit_buf = NULL; in xfrm_audit_start() local 686 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, in xfrm_audit_start() 688 if (audit_buf == NULL) in xfrm_audit_start() 690 audit_log_format(audit_buf, "op=%s", op); in xfrm_audit_start() 691 return audit_buf; in xfrm_audit_start() 695 struct audit_buffer *audit_buf) in xfrm_audit_helper_usrinfo() argument 703 audit_log_format(audit_buf, " auid=%u ses=%u", auid, ses); in xfrm_audit_helper_usrinfo() 704 audit_log_task_context(audit_buf); in xfrm_audit_helper_usrinfo()
|