Home
last modified time | relevance | path

Searched refs:audit_context (Results 1 – 9 of 9) sorted by relevance

/kernel/
Dauditsc.c148 static int audit_match_perm(struct audit_context *ctx, int mask) in audit_match_perm()
194 static int audit_match_filetype(struct audit_context *ctx, int val) in audit_match_filetype()
221 static void audit_set_auditable(struct audit_context *ctx) in audit_set_auditable()
229 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) in put_tree_ref()
251 static int grow_tree_refs(struct audit_context *ctx) in grow_tree_refs()
268 static void unroll_tree_refs(struct audit_context *ctx, in unroll_tree_refs()
297 static void free_tree_refs(struct audit_context *ctx) in free_tree_refs()
307 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) in match_tree_refs()
332 struct audit_context *ctx) in audit_compare_uid()
356 struct audit_context *ctx) in audit_compare_gid()
[all …]
Daudit.h102 struct audit_context { struct
264 extern int auditsc_get_stamp(struct audit_context *ctx,
299 extern void audit_kill_trees(struct audit_context *context);
303 struct audit_context *ctx);
Daudit.c201 struct audit_context *ctx; /* NULL or associated context */
390 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change()
1087 static void audit_log_common_recv_msg(struct audit_context *context, in audit_log_common_recv_msg()
1137 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_FEATURE_CHANGE); in audit_log_feature_change()
1416 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg()
1432 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg()
1463 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()
1788 static struct audit_buffer *audit_buffer_alloc(struct audit_context *ctx, in audit_buffer_alloc()
[all …]
Daudit_tree.c525 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()
Daudit_watch.c233 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()
Daudit_fsnotify.c122 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
Dauditfilter.c1114 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_rule_change()
/kernel/entry/
Dcommon.c40 if (unlikely(audit_context())) { in syscall_enter_audit()
/kernel/bpf/
Dsyscall.c1962 struct audit_context *ctx = NULL; in bpf_audit_prog()
1970 ctx = audit_context(); in bpf_audit_prog()