Home
last modified time | relevance | path

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

12

/linux-3.4.99/security/integrity/ima/
Dima_audit.c44 audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u", in integrity_audit_msg()
49 audit_log_format(ab, " op="); in integrity_audit_msg()
51 audit_log_format(ab, " cause="); in integrity_audit_msg()
53 audit_log_format(ab, " comm="); in integrity_audit_msg()
56 audit_log_format(ab, " name="); in integrity_audit_msg()
60 audit_log_format(ab, " dev="); in integrity_audit_msg()
62 audit_log_format(ab, " ino=%lu", inode->i_ino); in integrity_audit_msg()
64 audit_log_format(ab, " res=%d", !result); in integrity_audit_msg()
Dima_policy.c264 audit_log_format(ab, "%s=", key); in ima_log_string()
266 audit_log_format(ab, " "); in ima_log_string()
420 audit_log_format(ab, "res=%d", !result); in ima_parse_rule()
/linux-3.4.99/security/
Dlsm_audit.c192 audit_log_format(ab, " %s=%pI6c", name1, addr); in print_ipv6_addr()
194 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv6_addr()
201 audit_log_format(ab, " %s=%pI4", name1, &addr); in print_ipv4_addr()
203 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv4_addr()
219 audit_log_format(ab, " pid=%d comm=", tsk->pid); in dump_common_audit_data()
227 audit_log_format(ab, " key=%d ", a->u.ipc_id); in dump_common_audit_data()
230 audit_log_format(ab, " capability=%d ", a->u.cap); in dump_common_audit_data()
239 audit_log_format(ab, " dev="); in dump_common_audit_data()
241 audit_log_format(ab, " ino=%lu", inode->i_ino); in dump_common_audit_data()
248 audit_log_format(ab, " name="); in dump_common_audit_data()
[all …]
/linux-3.4.99/net/netfilter/
Dxt_AUDIT.c46 audit_log_format(ab, " truncated=1"); in audit_proto()
50 audit_log_format(ab, " sport=%hu dport=%hu", in audit_proto()
62 audit_log_format(ab, " truncated=1"); in audit_proto()
66 audit_log_format(ab, " icmptype=%hhu icmpcode=%hhu", in audit_proto()
81 audit_log_format(ab, " truncated=1"); in audit_ip4()
85 audit_log_format(ab, " saddr=%pI4 daddr=%pI4 ipid=%hu proto=%hhu", in audit_ip4()
89 audit_log_format(ab, " frag=1"); in audit_ip4()
106 audit_log_format(ab, " truncated=1"); in audit_ip6()
114 audit_log_format(ab, " saddr=%pI6c daddr=%pI6c proto=%hhu", in audit_ip6()
131 audit_log_format(ab, "action=%hhu hook=%u len=%u inif=%s outif=%s", in audit_tg()
[all …]
/linux-3.4.99/security/apparmor/
Daudit.c117 audit_log_format(ab, "apparmor="); in audit_pre()
122 audit_log_format(ab, " operation="); in audit_pre()
127 audit_log_format(ab, " info="); in audit_pre()
130 audit_log_format(ab, " error=%d", sa->aad->error); in audit_pre()
139 audit_log_format(ab, " parent=%d", pid); in audit_pre()
141 audit_log_format(ab, " namespace="); in audit_pre()
144 audit_log_format(ab, " profile="); in audit_pre()
149 audit_log_format(ab, " name="); in audit_pre()
Dfile.c71 audit_log_format(ab, " requested_mask="); in file_audit_cb()
75 audit_log_format(ab, " denied_mask="); in file_audit_cb()
79 audit_log_format(ab, " fsuid=%d", fsuid); in file_audit_cb()
80 audit_log_format(ab, " ouid=%d", sa->aad->fs.ouid); in file_audit_cb()
84 audit_log_format(ab, " target="); in file_audit_cb()
Dipc.c28 audit_log_format(ab, " target="); in audit_cb()
Dcapability.c45 audit_log_format(ab, " capname="); in audit_cb()
Dresource.c36 audit_log_format(ab, " rlimit=%s value=%lu", in audit_cb()
Dpolicy_unpack.c75 audit_log_format(ab, " name="); in audit_cb()
79 audit_log_format(ab, " offset=%ld", sa->aad->iface.pos); in audit_cb()
/linux-3.4.99/net/netlabel/
Dnetlabel_addrlist.c333 audit_log_format(audit_buf, " netif=%s", dev); in netlbl_af4list_audit_addr()
334 audit_log_format(audit_buf, " %s=%pI4", dir, &addr); in netlbl_af4list_audit_addr()
341 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af4list_audit_addr()
367 audit_log_format(audit_buf, " netif=%s", dev); in netlbl_af6list_audit_addr()
368 audit_log_format(audit_buf, " %s=%pI6", dir, addr); in netlbl_af6list_audit_addr()
380 audit_log_format(audit_buf, " %s_prefixlen=%d", dir, mask_len); in netlbl_af6list_audit_addr()
Dnetlabel_user.c111 audit_log_format(audit_buf, "netlabel: auid=%u ses=%u", in netlbl_audit_start_common()
119 audit_log_format(audit_buf, " subj=%s", secctx); in netlbl_audit_start_common()
Dnetlabel_domainhash.c211 audit_log_format(audit_buf, " nlbl_domain=%s", in netlbl_domhsh_audit_add()
234 audit_log_format(audit_buf, " nlbl_protocol=unlbl"); in netlbl_domhsh_audit_add()
238 audit_log_format(audit_buf, in netlbl_domhsh_audit_add()
243 audit_log_format(audit_buf, " res=%u", result == 0 ? 1 : 0); in netlbl_domhsh_audit_add()
530 audit_log_format(audit_buf, in netlbl_domhsh_remove_entry()
Dnetlabel_unlabeled.c464 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_add()
467 audit_log_format(audit_buf, " res=%u", ret_val == 0 ? 1 : 0); in netlbl_unlhsh_add()
520 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr4()
523 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr4()
581 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr6()
584 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr6()
767 audit_log_format(audit_buf, in netlbl_unlabel_acceptflg_set()
/linux-3.4.99/kernel/
Daudit.c274 audit_log_format(ab, "%s=%d old=%d auid=%u ses=%u", function_name, new, in audit_log_config_change()
282 audit_log_format(ab, " sid=%u", sid); in audit_log_config_change()
285 audit_log_format(ab, " subj=%s", ctx); in audit_log_config_change()
289 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change()
634 audit_log_format(*ab, "pid=%d uid=%u auid=%u ses=%u", in audit_log_common_recv_msg()
639 audit_log_format(*ab, " ssid=%u", sid); in audit_log_common_recv_msg()
641 audit_log_format(*ab, " subj=%s", ctx); in audit_log_common_recv_msg()
754 audit_log_format(ab, " msg='%.1024s'", in audit_receive_msg()
759 audit_log_format(ab, " msg="); in audit_receive_msg()
778 audit_log_format(ab, " audit_enabled=%d res=0", in audit_receive_msg()
[all …]
Dauditsc.c1154 audit_log_format(ab, " subj=%s", ctx); in audit_log_task_context()
1174 audit_log_format(ab, " comm="); in audit_log_task_info()
1207 audit_log_format(ab, "opid=%d oauid=%d ouid=%d oses=%d", pid, auid, in audit_log_pid_context()
1210 audit_log_format(ab, " obj=(none)"); in audit_log_pid_context()
1213 audit_log_format(ab, " obj=%s", ctx); in audit_log_pid_context()
1216 audit_log_format(ab, " ocomm="); in audit_log_pid_context()
1329 audit_log_format(*ab, " a%d_len=%zu", arg_num, in audit_log_single_execve_arg()
1349 audit_log_format(*ab, " a%d", arg_num); in audit_log_single_execve_arg()
1351 audit_log_format(*ab, "[%d]", i); in audit_log_single_execve_arg()
1352 audit_log_format(*ab, "="); in audit_log_single_execve_arg()
[all …]
Daudit_watch.c243 audit_log_format(ab, "auid=%u ses=%u op=", in audit_watch_log_rule_change()
247 audit_log_format(ab, " path="); in audit_watch_log_rule_change()
250 audit_log_format(ab, " list=%d res=1", r->listnr); in audit_watch_log_rule_change()
Dauditfilter.c1071 audit_log_format(ab, "auid=%u ses=%u", loginuid, sessionid); in audit_log_rule_change()
1076 audit_log_format(ab, " ssid=%u", sid); in audit_log_rule_change()
1078 audit_log_format(ab, " subj=%s", ctx); in audit_log_rule_change()
1082 audit_log_format(ab, " op="); in audit_log_rule_change()
1085 audit_log_format(ab, " list=%d res=%d", rule->listnr, res); in audit_log_rule_change()
Daudit_tree.c464 audit_log_format(ab, "op="); in kill_rules()
466 audit_log_format(ab, " dir="); in kill_rules()
469 audit_log_format(ab, " list=%d res=1", rule->listnr); in kill_rules()
/linux-3.4.99/security/selinux/
Davc.c106 audit_log_format(ab, " null"); in avc_dump_av()
112 audit_log_format(ab, " {"); in avc_dump_av()
117 audit_log_format(ab, " %s", perms[i]); in avc_dump_av()
125 audit_log_format(ab, " 0x%x", av); in avc_dump_av()
127 audit_log_format(ab, " }"); in avc_dump_av()
144 audit_log_format(ab, "ssid=%d", ssid); in avc_dump_query()
146 audit_log_format(ab, "scontext=%s", scontext); in avc_dump_query()
152 audit_log_format(ab, " tsid=%d", tsid); in avc_dump_query()
154 audit_log_format(ab, " tcontext=%s", scontext); in avc_dump_query()
159 audit_log_format(ab, " tclass=%s", secclass_map[tclass-1].name); in avc_dump_query()
[all …]
/linux-3.4.99/security/smack/
Dsmack_access.c279 audit_log_format(ab, "lsm=SMACK fn=%s action=%s", in smack_log_callback()
282 audit_log_format(ab, " subject="); in smack_log_callback()
284 audit_log_format(ab, " object="); in smack_log_callback()
286 audit_log_format(ab, " requested=%s", sad->request); in smack_log_callback()
/linux-3.4.99/drivers/tty/
Dtty_audit.c74 audit_log_format(ab, "%s pid=%u uid=%u auid=%u ses=%u " in tty_audit_log()
80 audit_log_format(ab, " data="); in tty_audit_log()
/linux-3.4.99/net/xfrm/
Dxfrm_state.c2073 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_helper_sainfo()
2078 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_sainfo()
2082 audit_log_format(audit_buf, " src=%pI6 dst=%pI6", in xfrm_audit_helper_sainfo()
2087 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_helper_sainfo()
2099 audit_log_format(audit_buf, " src=%pI4 dst=%pI4", in xfrm_audit_helper_pktinfo()
2104 audit_log_format(audit_buf, in xfrm_audit_helper_pktinfo()
2124 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_state_add()
2139 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_state_delete()
2157 audit_log_format(audit_buf, " spi=%u(0x%x)", spi, spi); in xfrm_audit_state_replay_overflow()
2173 audit_log_format(audit_buf, " spi=%u(0x%x) seqno=%u", in xfrm_audit_state_replay()
[all …]
Dxfrm_policy.c2714 audit_log_format(audit_buf, " sec_alg=%u sec_doi=%u sec_obj=%s", in xfrm_audit_common_policyinfo()
2719 audit_log_format(audit_buf, " src=%pI4", &sel->saddr.a4); in xfrm_audit_common_policyinfo()
2721 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo()
2723 audit_log_format(audit_buf, " dst=%pI4", &sel->daddr.a4); in xfrm_audit_common_policyinfo()
2725 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo()
2729 audit_log_format(audit_buf, " src=%pI6", sel->saddr.a6); in xfrm_audit_common_policyinfo()
2731 audit_log_format(audit_buf, " src_prefixlen=%d", in xfrm_audit_common_policyinfo()
2733 audit_log_format(audit_buf, " dst=%pI6", sel->daddr.a6); in xfrm_audit_common_policyinfo()
2735 audit_log_format(audit_buf, " dst_prefixlen=%d", in xfrm_audit_common_policyinfo()
2750 audit_log_format(audit_buf, " res=%u", result); in xfrm_audit_policy_add()
[all …]
/linux-3.4.99/include/linux/
Daudit.h669 void audit_log_format(struct audit_buffer *ab, const char *fmt, ...);
710 #define audit_log_format(b,f,...) do { ; } while (0) macro

12