/linux-6.12.1/security/ipe/ |
D | audit.c | 71 audit_log_format(ab, "%s", audit_prop_names[IPE_PROP_DMV_ROOTHASH]); in audit_dmv_roothash() 82 audit_log_format(ab, "%s", audit_prop_names[IPE_PROP_FSV_DIGEST]); in audit_fsv_digest() 95 audit_log_format(ab, " rule=\"op=%s ", audit_op_names[r->op]); in audit_rule() 106 audit_log_format(ab, "%s", audit_prop_names[ptr->type]); in audit_rule() 110 audit_log_format(ab, " "); in audit_rule() 113 audit_log_format(ab, "action=%s\"", ACTSTR(r->action)); in audit_rule() 142 audit_log_format(ab, "ipe_op=%s ipe_hook=%s enforcing=%d pid=%d comm=", in ipe_audit_match() 151 audit_log_format(ab, " dev="); in ipe_audit_match() 153 audit_log_format(ab, " ino=%lu", inode->i_ino); in ipe_audit_match() 155 audit_log_format(ab, " dev=? ino=?"); in ipe_audit_match() [all …]
|
/linux-6.12.1/security/ |
D | lsm_audit.c | 177 audit_log_format(ab, " %s=%pI6c", name1, addr); in print_ipv6_addr() 179 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv6_addr() 186 audit_log_format(ab, " %s=%pI4", name1, &addr); in print_ipv4_addr() 188 audit_log_format(ab, " %s=%d", name2, ntohs(port)); in print_ipv4_addr() 209 audit_log_format(ab, " pid=%d comm=", task_tgid_nr(current)); in dump_common_audit_data() 216 audit_log_format(ab, " ipc_key=%d ", a->u.ipc_id); in dump_common_audit_data() 219 audit_log_format(ab, " capability=%d ", a->u.cap); in dump_common_audit_data() 228 audit_log_format(ab, " dev="); in dump_common_audit_data() 230 audit_log_format(ab, " ino=%lu", inode->i_ino); in dump_common_audit_data() 241 audit_log_format(ab, " dev="); in dump_common_audit_data() [all …]
|
/linux-6.12.1/security/apparmor/ |
D | mount.c | 30 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, ", nosymfollow"); in audit_mnt_flags() [all …]
|
D | audit.c | 97 audit_log_format(ab, "apparmor=\"%s\"", in audit_pre() 102 audit_log_format(ab, " operation=\"%s\"", ad->op); in audit_pre() 105 audit_log_format(ab, " class=\"%s\"", in audit_pre() 111 audit_log_format(ab, " info=\"%s\"", ad->info); in audit_pre() 113 audit_log_format(ab, " error=%d", ad->error); in audit_pre() 123 audit_log_format(ab, " namespace="); in audit_pre() 127 audit_log_format(ab, " profile="); in audit_pre() 130 audit_log_format(ab, " label="); in audit_pre() 137 audit_log_format(ab, " name="); in audit_pre()
|
D | ipc.c | 58 audit_log_format(ab, " requested_mask=\"%s\"", in audit_signal_cb() 61 audit_log_format(ab, " denied_mask=\"%s\"", in audit_signal_cb() 66 audit_log_format(ab, "signal=unknown(%d)", in audit_signal_cb() 69 audit_log_format(ab, " signal=%s", sig_names[ad->signal]); in audit_signal_cb() 71 audit_log_format(ab, " signal=rtmin+%d", in audit_signal_cb() 73 audit_log_format(ab, " peer="); in audit_signal_cb()
|
D | net.c | 77 audit_log_format(ab, " family=\"%s\"", in audit_net_cb() 80 audit_log_format(ab, " family=\"unknown(%d)\"", in audit_net_cb() 83 audit_log_format(ab, " sock_type=\"%s\"", in audit_net_cb() 86 audit_log_format(ab, " sock_type=\"unknown(%d)\"", in audit_net_cb() 88 audit_log_format(ab, " protocol=%d", ad->net.protocol); in audit_net_cb() 91 audit_log_format(ab, " requested_mask="); in audit_net_cb() 96 audit_log_format(ab, " denied_mask="); in audit_net_cb() 102 audit_log_format(ab, " peer="); in audit_net_cb()
|
D | lib.c | 251 audit_log_format(ab, fmt, names[i]); in aa_audit_perm_names() 265 audit_log_format(ab, "\""); in aa_audit_perm_mask() 269 audit_log_format(ab, "%s", str); in aa_audit_perm_mask() 271 audit_log_format(ab, " "); in aa_audit_perm_mask() 275 audit_log_format(ab, "\""); in aa_audit_perm_mask() 289 audit_log_format(ab, " requested_mask="); in aa_audit_perms_cb() 295 audit_log_format(ab, "denied_mask="); in aa_audit_perms_cb() 300 audit_log_format(ab, " peer="); in aa_audit_perms_cb()
|
D | task.c | 211 audit_log_format(ab, " requested_mask=\"%s\"", in audit_ptrace_cb() 215 audit_log_format(ab, " denied_mask=\"%s\"", in audit_ptrace_cb() 219 audit_log_format(ab, " peer="); in audit_ptrace_cb() 310 audit_log_format(ab, " requested=\"userns_create\""); in audit_ns_cb() 313 audit_log_format(ab, " denied=\"userns_create\""); in audit_ns_cb()
|
D | file.c | 54 audit_log_format(ab, " requested_mask=\"%s\"", str); in file_audit_cb() 59 audit_log_format(ab, " denied_mask=\"%s\"", str); in file_audit_cb() 62 audit_log_format(ab, " fsuid=%d", in file_audit_cb() 64 audit_log_format(ab, " ouid=%d", in file_audit_cb() 69 audit_log_format(ab, " target="); in file_audit_cb() 73 audit_log_format(ab, " target="); in file_audit_cb()
|
D | resource.c | 35 audit_log_format(ab, " rlimit=%s value=%lu", in audit_cb() 38 audit_log_format(ab, " peer="); in audit_cb()
|
/linux-6.12.1/security/integrity/ |
D | integrity_audit.c | 50 audit_log_format(ab, "pid=%d uid=%u auid=%u ses=%u", in integrity_audit_message() 56 audit_log_format(ab, " op=%s cause=%s comm=", op, cause); in integrity_audit_message() 59 audit_log_format(ab, " name="); in integrity_audit_message() 63 audit_log_format(ab, " dev="); in integrity_audit_message() 65 audit_log_format(ab, " ino=%lu", inode->i_ino); in integrity_audit_message() 67 audit_log_format(ab, " res=%d errno=%d", !result, errno); in integrity_audit_message()
|
/linux-6.12.1/drivers/md/ |
D | dm-audit.c | 32 audit_log_format(ab, "module=%s op=%s", dm_msg_prefix, op); in dm_audit_log_start() 50 audit_log_format(ab, " dev=%d:%d error_msg='%s'", dev_major, in dm_audit_log_ti() 57 audit_log_format(ab, " dev=%d:%d sector=?", dev_major, in dm_audit_log_ti() 64 audit_log_format(ab, " res=%d", result); in dm_audit_log_ti() 80 audit_log_format(ab, " dev=%d:%d sector=%llu res=%d", in dm_audit_log_bio()
|
/linux-6.12.1/kernel/ |
D | auditsc.c | 1106 audit_log_format(ab, "opid=%d oauid=%d ouid=%d oses=%d", pid, in audit_log_pid_context() 1111 audit_log_format(ab, " obj=(none)"); in audit_log_pid_context() 1114 audit_log_format(ab, " obj=%s", ctx); in audit_log_pid_context() 1118 audit_log_format(ab, " ocomm="); in audit_log_pid_context() 1162 audit_log_format(*ab, "argc=%d", context->execve.argc); in audit_log_execve_info() 1261 audit_log_format(*ab, "%s", abuf); in audit_log_execve_info() 1303 audit_log_format(ab, " %s=0", prefix); in audit_log_cap() 1306 audit_log_format(ab, " %s=%016llx", prefix, cap->val); in audit_log_cap() 1312 audit_log_format(ab, " cap_fe=? cap_fver=? cap_fp=? cap_fi=?"); in audit_log_fcaps() 1317 audit_log_format(ab, " cap_fe=%d cap_fver=%x cap_frootid=%d", in audit_log_fcaps() [all …]
|
D | audit.c | 392 audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); in audit_log_config_change() 397 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change() 1100 audit_log_format(*ab, "pid=%d uid=%u ", pid, uid); in audit_log_common_recv_msg() 1140 audit_log_format(ab, " feature=%s old=%u new=%u old_lock=%u new_lock=%u res=%d", in audit_log_feature_change() 1398 audit_log_format(ab, " msg='%.*s'", in audit_receive_msg() 1402 audit_log_format(ab, " data="); in audit_receive_msg() 1417 audit_log_format(ab, " op=%s audit_enabled=%d res=0", in audit_receive_msg() 1433 audit_log_format(ab, " op=trim res=1"); in audit_receive_msg() 1464 audit_log_format(ab, " op=make_equiv old="); in audit_receive_msg() 1466 audit_log_format(ab, " new="); in audit_receive_msg() [all …]
|
D | audit_fsnotify.c | 126 audit_log_format(ab, " op=%s path=", op); in audit_mark_log_rule_change() 129 audit_log_format(ab, " list=%d res=1", rule->listnr); in audit_mark_log_rule_change()
|
/linux-6.12.1/net/netlabel/ |
D | netlabel_addrlist.c | 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() 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_user.c | 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()
|
D | netlabel_domainhash.c | 221 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()
|
D | netlabel_unlabeled.c | 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() 499 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr4() 502 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr4() 559 audit_log_format(audit_buf, " sec_obj=%s", secctx); in netlbl_unlhsh_remove_addr6() 562 audit_log_format(audit_buf, " res=%u", entry != NULL ? 1 : 0); in netlbl_unlhsh_remove_addr6() 744 audit_log_format(audit_buf, in netlbl_unlabel_acceptflg_set()
|
/linux-6.12.1/net/netfilter/ |
D | xt_AUDIT.c | 40 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()
|
D | nft_log.c | 38 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()
|
/linux-6.12.1/security/selinux/ |
D | avc.c | 653 audit_log_format(ab, "avc: %s ", sad->denied ? "denied" : "granted"); in avc_audit_pre_callback() 656 audit_log_format(ab, " null"); in avc_audit_pre_callback() 662 audit_log_format(ab, " {"); in avc_audit_pre_callback() 667 audit_log_format(ab, " %s", perms[i]); in avc_audit_pre_callback() 675 audit_log_format(ab, " 0x%x", av); in avc_audit_pre_callback() 677 audit_log_format(ab, " } for "); in avc_audit_pre_callback() 700 audit_log_format(ab, " ssid=%d", sad->ssid); in avc_audit_post_callback() 702 audit_log_format(ab, " scontext=%s", scontext); in avc_audit_post_callback() 707 audit_log_format(ab, " tsid=%d", sad->tsid); in avc_audit_post_callback() 709 audit_log_format(ab, " tcontext=%s", tcontext); in avc_audit_post_callback() [all …]
|
/linux-6.12.1/security/smack/ |
D | smack_access.c | 315 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()
|
/linux-6.12.1/security/integrity/evm/ |
D | evm_secfs.c | 222 audit_log_format(ab, "xattr="); in evm_write_xattrs() 267 audit_log_format(ab, " res=0"); in evm_write_xattrs() 271 audit_log_format(ab, " res=%d", (err < 0) ? err : 0); in evm_write_xattrs()
|
/linux-6.12.1/drivers/tty/ |
D | tty_audit.c | 75 audit_log_format(ab, "%s pid=%u uid=%u auid=%u ses=%u major=%d minor=%d comm=", in tty_audit_log() 80 audit_log_format(ab, " data="); in tty_audit_log()
|