Home
last modified time | relevance | path

Searched refs:audit_log_format (Results 1 – 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/security/
Dlsm_audit.c190 audit_log_format(ab, " %s=%pI6c", name1, addr); in print_ipv6_addr()
192 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv6_addr()
199 audit_log_format(ab, " %s=%pI4", name1, &addr); in print_ipv4_addr()
201 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv4_addr()
221 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); in dump_common_audit_data()
228 audit_log_format(ab, " key=%d ", a->u.ipc_id); in dump_common_audit_data()
231 audit_log_format(ab, " capability=%d ", a->u.cap); in dump_common_audit_data()
240 audit_log_format(ab, " dev="); in dump_common_audit_data()
242 audit_log_format(ab, " ino=%lu", inode->i_ino); in dump_common_audit_data()
254 audit_log_format(ab, " dev="); in dump_common_audit_data()
[all …]
/kernel/linux/linux-5.10/security/apparmor/
Dmount.c30 audit_log_format(ab, "ro"); in audit_mnt_flags()
32 audit_log_format(ab, "rw"); in audit_mnt_flags()
34 audit_log_format(ab, ", nosuid"); in audit_mnt_flags()
36 audit_log_format(ab, ", nodev"); in audit_mnt_flags()
38 audit_log_format(ab, ", noexec"); in audit_mnt_flags()
40 audit_log_format(ab, ", sync"); in audit_mnt_flags()
42 audit_log_format(ab, ", remount"); in audit_mnt_flags()
44 audit_log_format(ab, ", mand"); in audit_mnt_flags()
46 audit_log_format(ab, ", dirsync"); in audit_mnt_flags()
48 audit_log_format(ab, ", noatime"); in audit_mnt_flags()
[all …]
Daudit.c60 audit_log_format(ab, "apparmor=\"%s\"", in audit_pre()
65 audit_log_format(ab, " operation=\"%s\"", aad(sa)->op); in audit_pre()
69 audit_log_format(ab, " info=\"%s\"", aad(sa)->info); in audit_pre()
71 audit_log_format(ab, " error=%d", aad(sa)->error); in audit_pre()
81 audit_log_format(ab, " namespace="); in audit_pre()
85 audit_log_format(ab, " profile="); in audit_pre()
88 audit_log_format(ab, " label="); in audit_pre()
95 audit_log_format(ab, " name="); in audit_pre()
Dipc.c48 audit_log_format(ab, " requested_mask=\"%s\"", in audit_ptrace_cb()
52 audit_log_format(ab, " denied_mask=\"%s\"", in audit_ptrace_cb()
56 audit_log_format(ab, " peer="); in audit_ptrace_cb()
167 audit_log_format(ab, " requested_mask=\"%s\"", in audit_signal_cb()
170 audit_log_format(ab, " denied_mask=\"%s\"", in audit_signal_cb()
175 audit_log_format(ab, "signal=unknown(%d)", in audit_signal_cb()
178 audit_log_format(ab, " signal=%s", sig_names[aad(sa)->signal]); in audit_signal_cb()
180 audit_log_format(ab, " signal=rtmin+%d", in audit_signal_cb()
182 audit_log_format(ab, " peer="); in audit_signal_cb()
Dnet.c76 audit_log_format(ab, " family=\"%s\"", in audit_net_cb()
79 audit_log_format(ab, " family=\"unknown(%d)\"", in audit_net_cb()
82 audit_log_format(ab, " sock_type=\"%s\"", in audit_net_cb()
85 audit_log_format(ab, " sock_type=\"unknown(%d)\"", in audit_net_cb()
87 audit_log_format(ab, " protocol=%d", aad(sa)->net.protocol); in audit_net_cb()
90 audit_log_format(ab, " requested_mask="); in audit_net_cb()
95 audit_log_format(ab, " denied_mask="); in audit_net_cb()
101 audit_log_format(ab, " peer="); in audit_net_cb()
Dlib.c230 audit_log_format(ab, fmt, names[i]); in aa_audit_perm_names()
244 audit_log_format(ab, "\""); in aa_audit_perm_mask()
248 audit_log_format(ab, "%s", str); in aa_audit_perm_mask()
250 audit_log_format(ab, " "); in aa_audit_perm_mask()
254 audit_log_format(ab, "\""); in aa_audit_perm_mask()
267 audit_log_format(ab, " requested_mask="); in aa_audit_perms_cb()
273 audit_log_format(ab, "denied_mask="); in aa_audit_perms_cb()
278 audit_log_format(ab, " peer="); in aa_audit_perms_cb()
Dfile.c51 audit_log_format(ab, " requested_mask=\"%s\"", str); in file_audit_cb()
56 audit_log_format(ab, " denied_mask=\"%s\"", str); in file_audit_cb()
59 audit_log_format(ab, " fsuid=%d", in file_audit_cb()
61 audit_log_format(ab, " ouid=%d", in file_audit_cb()
66 audit_log_format(ab, " target="); in file_audit_cb()
70 audit_log_format(ab, " target="); in file_audit_cb()
Dresource.c34 audit_log_format(ab, " rlimit=%s value=%lu", in audit_cb()
37 audit_log_format(ab, " peer="); in audit_cb()
Dcapability.c48 audit_log_format(ab, " capname="); in audit_cb()
/kernel/linux/linux-5.10/security/integrity/
Dintegrity_audit.c48 audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u", in integrity_audit_message()
54 audit_log_format(ab, " op=%s cause=%s comm=", op, cause); in integrity_audit_message()
57 audit_log_format(ab, " name="); in integrity_audit_message()
61 audit_log_format(ab, " dev="); in integrity_audit_message()
63 audit_log_format(ab, " ino=%lu", inode->i_ino); in integrity_audit_message()
65 audit_log_format(ab, " res=%d errno=%d", !result, errno); in integrity_audit_message()
/kernel/linux/linux-5.10/kernel/
Dauditsc.c997 audit_log_format(ab, "opid=%d oauid=%d ouid=%d oses=%d", pid, in audit_log_pid_context()
1002 audit_log_format(ab, " obj=(none)"); in audit_log_pid_context()
1005 audit_log_format(ab, " obj=%s", ctx); in audit_log_pid_context()
1009 audit_log_format(ab, " ocomm="); in audit_log_pid_context()
1053 audit_log_format(*ab, "argc=%d", context->execve.argc); in audit_log_execve_info()
1152 audit_log_format(*ab, "%s", abuf); in audit_log_execve_info()
1196 audit_log_format(ab, " %s=0", prefix); in audit_log_cap()
1199 audit_log_format(ab, " %s=", prefix); in audit_log_cap()
1201 audit_log_format(ab, "%08x", cap->cap[CAP_LAST_U32 - i]); in audit_log_cap()
1207 audit_log_format(ab, " cap_fe=? cap_fver=? cap_fp=? cap_fi=?"); in audit_log_fcaps()
[all …]
Daudit.c395 audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); in audit_log_config_change()
400 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change()
1068 audit_log_format(*ab, "pid=%d uid=%u ", pid, uid); in audit_log_common_recv_msg()
1108 audit_log_format(ab, " feature=%s old=%u new=%u old_lock=%u new_lock=%u res=%d", in audit_log_feature_change()
1364 audit_log_format(ab, " msg='%.*s'", in audit_receive_msg()
1368 audit_log_format(ab, " data="); in audit_receive_msg()
1383 audit_log_format(ab, " op=%s audit_enabled=%d res=0", in audit_receive_msg()
1399 audit_log_format(ab, " op=trim res=1"); in audit_receive_msg()
1430 audit_log_format(ab, " op=make_equiv old="); in audit_receive_msg()
1432 audit_log_format(ab, " new="); in audit_receive_msg()
[all …]
Daudit_fsnotify.c125 audit_log_format(ab, " op=%s path=", op); in audit_mark_log_rule_change()
128 audit_log_format(ab, " list=%d res=1", rule->listnr); in audit_mark_log_rule_change()
/kernel/linux/linux-5.10/net/netlabel/
Dnetlabel_addrlist.c318 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()
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()
Dnetlabel_user.c97 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()
Dnetlabel_domainhash.c221 audit_log_format(audit_buf, " nlbl_domain=%s", 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()
614 audit_log_format(audit_buf, in netlbl_domhsh_remove_entry()
Dnetlabel_unlabeled.c444 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()
500 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr4()
503 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr4()
561 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr6()
564 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr6()
746 audit_log_format(audit_buf, in netlbl_unlabel_acceptflg_set()
/kernel/linux/linux-5.10/net/netfilter/
Dxt_AUDIT.c40 audit_log_format(ab, " saddr=%pI4 daddr=%pI4 proto=%hhu", in audit_ip4()
60 audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", in audit_ip6()
78 audit_log_format(ab, "mark=%#x", skb->mark); in audit_tg()
100 audit_log_format(ab, " saddr=? daddr=? proto=-1"); in audit_tg()
Dnft_log.c38 audit_log_format(ab, " saddr=%pI4 daddr=%pI4 proto=%hhu", in audit_ip4()
58 audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", in audit_ip6()
77 audit_log_format(ab, "mark=%#x", skb->mark); in nft_log_eval_audit()
99 audit_log_format(ab, " saddr=? daddr=? proto=-1"); in nft_log_eval_audit()
/kernel/linux/linux-5.10/security/selinux/
Davc.c672 audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); in avc_audit_pre_callback()
675 audit_log_format(ab, " null"); in avc_audit_pre_callback()
681 audit_log_format(ab, " {"); in avc_audit_pre_callback()
686 audit_log_format(ab, " %s", perms[i]); in avc_audit_pre_callback()
694 audit_log_format(ab, " 0x%x", av); in avc_audit_pre_callback()
696 audit_log_format(ab, " } for "); in avc_audit_pre_callback()
719 audit_log_format(ab, " ssid=%d", sad->ssid); in avc_audit_post_callback()
721 audit_log_format(ab, " scontext=%s", scontext); in avc_audit_post_callback()
726 audit_log_format(ab, " tsid=%d", sad->tsid); in avc_audit_post_callback()
728 audit_log_format(ab, " tcontext=%s", tcontext); in avc_audit_post_callback()
[all …]
/kernel/linux/linux-5.10/security/smack/
Dsmack_access.c315 audit_log_format(ab, "lsm=SMACK fn=%s action=%s", in smack_log_callback()
318 audit_log_format(ab, " subject="); in smack_log_callback()
320 audit_log_format(ab, " object="); in smack_log_callback()
323 audit_log_format(ab, " labels_differ"); in smack_log_callback()
325 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback()
/kernel/linux/linux-5.10/security/integrity/evm/
Devm_secfs.c214 audit_log_format(ab, "xattr="); in evm_write_xattrs()
255 audit_log_format(ab, " res=0"); in evm_write_xattrs()
259 audit_log_format(ab, " res=%d", err); in evm_write_xattrs()
/kernel/linux/linux-5.10/drivers/tty/
Dtty_audit.c73 audit_log_format(ab, "%s pid=%u uid=%u auid=%u ses=%u major=%d" in tty_audit_log()
78 audit_log_format(ab, " data="); in tty_audit_log()
/kernel/linux/linux-5.10/security/integrity/ima/
Dima_api.c364 audit_log_format(ab, "file="); in ima_audit_measurement()
366 audit_log_format(ab, " hash=\"%s:%s\"", algo_name, hash); in ima_audit_measurement()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_state.c2735 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_helper_sainfo()
2740 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_sainfo()
2744 audit_log_format(audit_buf, " src=%pI6 dst=%pI6", in xfrm_audit_helper_sainfo()
2749 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_helper_sainfo()
2761 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_pktinfo()
2766 audit_log_format(audit_buf, in xfrm_audit_helper_pktinfo()
2785 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_state_add()
2799 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_state_delete()
2817 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_state_replay_overflow()
2833 audit_log_format(audit_buf, " spi=%u(0x%x) seqno=%u", in xfrm_audit_state_replay()
[all …]

12