Home
last modified time | relevance | path

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

12

/security/integrity/
A Dintegrity_audit.c20 unsigned long audit; in integrity_audit_setup() local
22 if (!kstrtoul(str, 0, &audit)) in integrity_audit_setup()
23 integrity_audit_info = audit ? 1 : 0; in integrity_audit_setup()
A DKconfig12 extension and audit measurement log support.
/security/apparmor/
A Ddomain.c688 goto audit; in profile_transition()
767 goto audit; in profile_transition()
780 audit: in profile_transition()
828 goto audit; in profile_onexec()
835 goto audit; in profile_onexec()
846 goto audit; in profile_onexec()
859 audit: in profile_onexec()
991 goto audit; in apparmor_bprm_creds_for_exec()
1036 audit: in apparmor_bprm_creds_for_exec()
1087 audit: in build_change_hat()
[all …]
A Dmount.c145 u32 mask = perms->audit; in audit_mount()
179 if (data && (perms->audit & AA_AUDIT_DATA)) in audit_mount()
327 goto audit; in match_mnt_path_str()
332 goto audit; in match_mnt_path_str()
341 goto audit; in match_mnt_path_str()
345 audit: in match_mnt_path_str()
620 goto audit; in profile_umount()
629 audit: in profile_umount()
687 goto audit; in build_pivotroot()
692 goto audit; in build_pivotroot()
[all …]
A Dfile.c115 u32 mask = perms->audit; in aa_audit_file()
337 goto audit; in profile_path_link()
344 goto audit; in profile_path_link()
353 goto audit; in profile_path_link()
362 lperms.audit = perms.audit; in profile_path_link()
369 goto audit; in profile_path_link()
388 goto audit; in profile_path_link()
394 goto audit; in profile_path_link()
400 audit: in profile_path_link()
A Dpolicy_compat.c118 perms.audit = map_old_perms(dfa_user_audit(dfa, state)); in compute_fperms_user()
133 perms.audit = map_old_perms(dfa_other_audit(dfa, state)); in compute_fperms_other()
217 perms.audit = dfa_user_audit(dfa, state); in compute_perms_entry()
241 perms.audit |= map_other(dfa_other_audit(dfa, state)); in compute_perms_entry()
A Dlib.c365 perms->audit = ALL_PERMS_MASK; in aa_apply_modes_to_perms()
371 perms->audit = 0; in aa_apply_modes_to_perms()
427 request &= perms->audit; in aa_check_perms()
A DMakefile6 apparmor-y := apparmorfs.o audit.o capability.o task.o ipc.o lib.o match.o \
A Dnet.c383 if (rules->secmark[i].audit) in aa_secmark_perm()
384 perms.audit = ALL_PERMS_MASK; in aa_secmark_perm()
A Dcapability.c81 !cap_raised(rules->caps.audit, cap))) in audit_caps()
A Dpolicy_unpack.c584 if (!unpack_u8(e, &rules->secmark[i].audit, NULL)) in unpack_secmark()
663 aa_unpack_u32(e, &perm->audit, NULL) && in unpack_perm()
964 profile->audit = AUDIT_ALL; in unpack_profile()
980 if (!aa_unpack_cap_low(e, &rules->caps.audit, NULL)) in unpack_profile()
992 if (!aa_unpack_cap_high(e, &rules->caps.audit, NULL)) in unpack_profile()
/security/landlock/
A Dtask.c113 .audit = { in hook_ptrace_access_check()
159 .audit = { in hook_ptrace_traceme()
286 .audit = { in hook_unix_stream_connect()
323 .audit = { in hook_unix_may_send()
381 .audit = { in hook_task_kill()
422 .audit = { in hook_file_send_sigiotask()
A Dfs.c932 log_request_parent1->audit.type = LSM_AUDIT_DATA_PATH; in is_access_to_paths_allowed()
933 log_request_parent1->audit.u.path = *path; in is_access_to_paths_allowed()
942 log_request_parent2->audit.type = LSM_AUDIT_DATA_PATH; in is_access_to_paths_allowed()
943 log_request_parent2->audit.u.path = *path; in is_access_to_paths_allowed()
1226 request1.audit.u.path.dentry = old_parent; in current_check_refer_path()
1230 request2.audit.u.path.dentry = new_dir->dentry; in current_check_refer_path()
1382 .audit = { in log_fs_change_topology_path()
1396 .audit = { in log_fs_change_topology_dentry()
1708 .audit = { in hook_file_truncate()
1744 .audit = { in hook_file_ioctl_common()
A DMakefile10 audit.o \
A Dnet.c189 .audit.type = LSM_AUDIT_DATA_NET, in current_check_access_socket()
190 .audit.u.net = &audit_net, in current_check_access_socket()
A Daudit.h34 struct common_audit_data audit; member
A Daudit.c458 audit_log_lsm_data(ab, &request->audit); in landlock_log_denial()
/security/apparmor/include/
A Dperms.h80 u32 audit; /* set only when allow is set */ member
112 accum->audit |= addend->audit & addend->allow; in aa_perms_accum_raw()
139 accum->audit |= addend->audit & accum->allow; in aa_perms_accum()
A Dcapability.h30 kernel_cap_t audit; member
A Dpolicy.h241 enum audit_mode audit; member
413 return profile->audit; in AUDIT_MODE()
A Dfile.h72 #define COMBINED_PERM_MASK(X) ((X).allow | (X).audit | (X).quiet | (X).kill)
A Dnet.h79 u8 audit; member
/security/tomoyo/
A DKconfig30 int "Default maximal count for audit log"
36 audit logs that the kernel can hold on memory.
37 You can read the log via /sys/kernel/security/tomoyo/audit.
38 If you don't need audit logs, you may set this value to 0.
A DMakefile2 obj-y = audit.o common.o condition.o domain.o environ.o file.o gc.o group.o load_policy.o memory.o …
/security/ipe/
A DMakefile26 audit.o \

Completed in 43 milliseconds

12