/linux/kernel/ |
H A D | auditsc.c | 151 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm() 197 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype() 224 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable() 232 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref() 254 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs() 271 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs() 300 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs() 310 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs() 335 struct audit_context *ctx) in audit_compare_uid() 359 struct audit_context *ctx) in audit_compare_gid() [all …]
|
H A D | audit.c | 199 struct audit_context *ctx; /* NULL or associated context */ 389 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change() 1086 static void audit_log_common_recv_msg(struct audit_context *context, in audit_log_common_recv_msg() 1136 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_FEATURE_CHANGE); in audit_log_feature_change() 1415 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1431 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1462 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1531 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg() 1609 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_EVENT_LISTENER); in audit_log_multicast() 1786 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc() [all …]
|
H 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()
|
H 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()
|
H A D | audit_fsnotify.c | 122 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
|
H A D | auditfilter.c | 1116 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_rule_change()
|
/linux/include/linux/ |
H A D | audit.h | 29 struct audit_context; 159 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, 162 extern struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type); 215 void audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, in audit_log() 218 static inline struct audit_buffer *audit_log_start(struct audit_context *ctx, in audit_log_start() 309 static inline void audit_set_context(struct task_struct *task, struct audit_context *ctx) in audit_set_context() 311 task->audit_context = ctx; in audit_set_context() 314 static inline struct audit_context *audit_context(void) in audit_context() function 316 return current->audit_context; in audit_context() 321 void *p = audit_context(); in audit_dummy_context() [all …]
|
H A D | sched.h | 52 struct audit_context; 1179 struct audit_context *audit_context; member
|
H A D | security.h | 48 struct audit_context;
|
/linux/security/ipe/ |
H A D | audit.c | 137 ab = audit_log_start(audit_context(), GFP_ATOMIC | __GFP_NOWARN, in ipe_audit_match() 226 ab = audit_log_start(audit_context(), GFP_KERNEL, in ipe_audit_policy_activation() 258 ab = audit_log_start(audit_context(), GFP_KERNEL, in ipe_audit_policy_load() 280 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS); in ipe_audit_enforce() 284 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS, in ipe_audit_enforce()
|
/linux/security/integrity/ |
H A D | integrity.h | 216 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start() 238 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
|
H A D | integrity_audit.c | 47 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno); in integrity_audit_message()
|
/linux/net/netlabel/ |
H A D | netlabel_user.c | 93 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, type); in netlbl_audit_start_common()
|
/linux/drivers/md/ |
H A D | dm-audit.c | 28 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_type); in dm_audit_log_start()
|
/linux/drivers/tty/ |
H A D | tty_audit.c | 71 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_TTY); in tty_audit_log()
|
/linux/kernel/entry/ |
H A D | common.c | 20 if (unlikely(audit_context())) { in syscall_enter_audit()
|
/linux/security/integrity/evm/ |
H A D | evm_secfs.c | 198 ab = audit_log_start(audit_context(), GFP_KERNEL, in evm_write_xattrs()
|
/linux/security/integrity/ima/ |
H A D | ima_api.c | 411 ab = audit_log_start(audit_context(), GFP_KERNEL, in ima_audit_measurement()
|
H A D | ima_policy.c | 1417 ab = integrity_audit_log_start(audit_context(), GFP_KERNEL, in ima_parse_rule()
|
/linux/security/selinux/ss/ |
H A D | services.c | 500 ab = audit_log_start(audit_context(), in security_dump_masked_av() 735 audit_log(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR, in security_validtrans_handle_fail() 920 audit_log(audit_context(), in security_bounded_transition() 1665 ab = audit_log_start(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR); in compute_sid_handle_invalid_context() 3074 audit_log(audit_context(), GFP_ATOMIC, in security_set_bools() 3230 ab = audit_log_start(audit_context(), in security_sid_mls_copy()
|
/linux/security/ |
H A D | lsm_audit.c | 449 ab = audit_log_start(audit_context(), GFP_ATOMIC | __GFP_NOWARN, in common_lsm_audit()
|
/linux/security/selinux/ |
H A D | selinuxfs.c | 168 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS, in sel_write_enforce() 618 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_POLICY_LOAD, in sel_write_load()
|
H A D | hooks.c | 3248 ab = audit_log_start(audit_context(), in selinux_inode_setxattr() 6490 ab = audit_log_start(audit_context(), in selinux_lsm_setattr()
|
/linux/include/net/ |
H A D | xfrm.h | 752 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, in xfrm_audit_start()
|
/linux/kernel/bpf/ |
H A D | syscall.c | 2239 struct audit_context *ctx = NULL; in bpf_audit_prog() 2247 ctx = audit_context(); in bpf_audit_prog()
|