/linux/kernel/ |
A D | auditsc.c | 1565 struct audit_context *context = audit_context(); in audit_log_proctitle() 1641 struct audit_context *context = audit_context(); in audit_log_exit() 1863 struct audit_context *ctx = audit_context(); in __audit_uring_entry() 1899 struct audit_context *ctx = audit_context(); in __audit_uring_exit() 1968 struct audit_context *context = audit_context(); in __audit_syscall_entry() 2016 struct audit_context *context = audit_context(); in __audit_syscall_exit() 2162 struct audit_context *context = audit_context(); in __audit_reusename() 2185 struct audit_context *context = audit_context(); in __audit_getname() 2252 struct audit_context *context = audit_context(); in __audit_inode() 2698 struct audit_context *ctx = audit_context(); in audit_signal_info_syscall() [all …]
|
A D | audit.h | 102 struct audit_context { struct 262 extern int auditsc_get_stamp(struct audit_context *ctx, 297 extern void audit_kill_trees(struct audit_context *context); 301 struct audit_context *ctx);
|
A D | audit.c | 201 struct audit_context *ctx; /* NULL or associated context */ 392 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change() 1054 static void audit_log_common_recv_msg(struct audit_context *context, in audit_log_common_recv_msg() 1381 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1397 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1428 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1496 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1784 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp() 2240 ab = audit_log_start(audit_context(), GFP_KERNEL, type); in audit_log_path_denied() 2281 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_LOGIN); in audit_log_set_loginuid() [all …]
|
A D | audit_tree.c | 525 static void audit_tree_log_remove_rule(struct audit_context *context, in audit_tree_log_remove_rule() 542 static void kill_rules(struct audit_context *context, struct audit_tree *tree) in kill_rules() 635 kill_rules(audit_context(), tree); in trim_marked() 972 void audit_kill_trees(struct audit_context *context) in audit_kill_trees() 1018 kill_rules(audit_context(), owner); in evict_chunk()
|
A D | audit_watch.c | 233 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_watch_log_rule_change() 264 audit_filter_inodes(current, audit_context()); in audit_update_watch()
|
A D | audit_fsnotify.c | 121 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
|
A D | auditfilter.c | 1114 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_rule_change()
|
/linux/include/linux/ |
A D | audit.h | 28 struct audit_context; 159 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, 312 task->audit_context = ctx; in audit_set_context() 315 static inline struct audit_context *audit_context(void) in audit_context() function 317 return current->audit_context; in audit_context() 322 void *p = audit_context(); in audit_dummy_context() 327 if (unlikely(task->audit_context)) in audit_free() 337 if (unlikely(audit_context() && audit_enabled)) in audit_uring_entry() 349 if (unlikely(audit_context())) in audit_syscall_entry() 354 if (unlikely(audit_context())) { in audit_syscall_exit() [all …]
|
A D | sched.h | 40 struct audit_context; 1093 struct audit_context *audit_context; member
|
A D | security.h | 41 struct audit_context;
|
/linux/security/integrity/ |
A D | integrity.h | 248 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start() 270 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
|
A D | integrity_audit.c | 47 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno); in integrity_audit_message()
|
/linux/net/netlabel/ |
A D | netlabel_user.c | 93 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, type); in netlbl_audit_start_common()
|
/linux/drivers/md/ |
A D | dm-audit.c | 28 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_type); in dm_audit_log_start()
|
/linux/drivers/tty/ |
A D | tty_audit.c | 70 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_TTY); in tty_audit_log()
|
/linux/security/integrity/evm/ |
A D | evm_secfs.c | 198 ab = audit_log_start(audit_context(), GFP_KERNEL, in evm_write_xattrs()
|
/linux/kernel/entry/ |
A D | common.c | 36 if (unlikely(audit_context())) { in syscall_enter_audit()
|
/linux/security/integrity/ima/ |
A D | ima_api.c | 363 ab = audit_log_start(audit_context(), GFP_KERNEL, in ima_audit_measurement()
|
A D | ima_policy.c | 1336 ab = integrity_audit_log_start(audit_context(), GFP_KERNEL, in ima_parse_rule()
|
/linux/security/selinux/ss/ |
A D | services.c | 506 ab = audit_log_start(audit_context(), in security_dump_masked_av() 742 audit_log(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR, in security_validtrans_handle_fail() 933 audit_log(audit_context(), in security_bounded_transition() 1676 ab = audit_log_start(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR); in compute_sid_handle_invalid_context() 3116 audit_log(audit_context(), GFP_ATOMIC, in security_set_bools() 3274 ab = audit_log_start(audit_context(), in security_sid_mls_copy()
|
/linux/security/ |
A D | lsm_audit.c | 457 ab = audit_log_start(audit_context(), GFP_ATOMIC | __GFP_NOWARN, in common_lsm_audit()
|
/linux/security/selinux/ |
A D | selinuxfs.c | 173 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS, in sel_write_enforce() 317 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS, in sel_write_disable() 661 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_POLICY_LOAD, in sel_write_load()
|
A D | hooks.c | 3316 ab = audit_log_start(audit_context(), in selinux_inode_setxattr() 6498 ab = audit_log_start(audit_context(), in selinux_setprocattr()
|
/linux/include/net/ |
A D | xfrm.h | 669 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, in xfrm_audit_start()
|
/linux/kernel/bpf/ |
A D | syscall.c | 1705 struct audit_context *ctx = NULL; in bpf_audit_prog() 1713 ctx = audit_context(); in bpf_audit_prog()
|