/Linux-v6.6/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-v6.6/net/xfrm/ |
D | xfrm_state.c | 2938 struct audit_buffer *audit_buf) in xfrm_audit_helper_sainfo() argument 2944 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_helper_sainfo() 2949 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_sainfo() 2953 audit_log_format(audit_buf, " src=%pI6 dst=%pI6", in xfrm_audit_helper_sainfo() 2958 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_helper_sainfo() 2962 struct audit_buffer *audit_buf) in xfrm_audit_helper_pktinfo() argument 2970 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_pktinfo() 2975 audit_log_format(audit_buf, in xfrm_audit_helper_pktinfo() 2987 struct audit_buffer *audit_buf; in xfrm_audit_state_add() local 2989 audit_buf = xfrm_audit_start("SAD-add"); in xfrm_audit_state_add() [all …]
|
D | xfrm_policy.c | 4274 struct audit_buffer *audit_buf) in xfrm_audit_common_policyinfo() argument 4280 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_common_policyinfo() 4285 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4); in xfrm_audit_common_policyinfo() 4287 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo() 4289 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4); in xfrm_audit_common_policyinfo() 4291 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo() 4295 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6); in xfrm_audit_common_policyinfo() 4297 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo() 4299 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6); in xfrm_audit_common_policyinfo() 4301 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo() [all …]
|
/Linux-v6.6/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-v6.6/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-v6.6/include/net/ |
D | xfrm.h | 697 struct audit_buffer *audit_buf = NULL; in xfrm_audit_start() local 701 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, in xfrm_audit_start() 703 if (audit_buf == NULL) in xfrm_audit_start() 705 audit_log_format(audit_buf, "op=%s", op); in xfrm_audit_start() 706 return audit_buf; in xfrm_audit_start() 710 struct audit_buffer *audit_buf) in xfrm_audit_helper_usrinfo() argument 718 audit_log_format(audit_buf, " auid=%u ses=%u", auid, ses); in xfrm_audit_helper_usrinfo() 719 audit_log_task_context(audit_buf); in xfrm_audit_helper_usrinfo()
|