Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/kernel/
A Dauditsc.c1601 struct audit_context *context = audit_context(); in audit_log_proctitle()
1677 struct audit_context *context = audit_context(); in audit_log_exit()
1899 struct audit_context *ctx = audit_context(); in __audit_uring_entry()
1935 struct audit_context *ctx = audit_context(); in __audit_uring_exit()
2010 struct audit_context *context = audit_context(); in __audit_syscall_entry()
2058 struct audit_context *context = audit_context(); in __audit_syscall_exit()
2204 struct audit_context *context = audit_context(); in __audit_reusename()
2227 struct audit_context *context = audit_context(); in __audit_getname()
2294 struct audit_context *context = audit_context(); in __audit_inode()
2740 struct audit_context *ctx = audit_context(); in audit_signal_info_syscall()
[all …]
A 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);
A 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()
1076 static void audit_log_common_recv_msg(struct audit_context *context, in audit_log_common_recv_msg()
1403 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg()
1419 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg()
1450 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg()
1518 audit_log_common_recv_msg(audit_context(), &ab, in audit_receive_msg()
1820 static inline void audit_get_stamp(struct audit_context *ctx, in audit_get_stamp()
2278 ab = audit_log_start(audit_context(), GFP_KERNEL, type); in audit_log_path_denied()
2319 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_LOGIN); in audit_log_set_loginuid()
[all …]
A 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()
A Daudit_fsnotify.c122 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
A 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()
A Dauditfilter.c1114 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_rule_change()
/linux-6.3-rc2/include/linux/
A Daudit.h29 struct audit_context;
310 task->audit_context = ctx; in audit_set_context()
313 static inline struct audit_context *audit_context(void) in audit_context() function
315 return current->audit_context; in audit_context()
320 void *p = audit_context(); in audit_dummy_context()
325 if (unlikely(task->audit_context)) in audit_free()
335 if (unlikely(audit_context() && audit_enabled)) in audit_uring_entry()
340 if (unlikely(audit_context())) in audit_uring_exit()
347 if (unlikely(audit_context())) in audit_syscall_entry()
352 if (unlikely(audit_context())) { in audit_syscall_exit()
[all …]
A Dsched.h42 struct audit_context;
1113 struct audit_context *audit_context; member
A Dsecurity.h42 struct audit_context;
/linux-6.3-rc2/net/netlabel/
A Dnetlabel_user.c93 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, type); in netlbl_audit_start_common()
/linux-6.3-rc2/security/integrity/
A Dintegrity.h282 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
304 integrity_audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) in integrity_audit_log_start()
A Dintegrity_audit.c47 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno); in integrity_audit_message()
/linux-6.3-rc2/drivers/md/
A Ddm-audit.c28 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_type); in dm_audit_log_start()
/linux-6.3-rc2/drivers/tty/
A Dtty_audit.c70 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_TTY); in tty_audit_log()
/linux-6.3-rc2/security/integrity/evm/
A Devm_secfs.c198 ab = audit_log_start(audit_context(), GFP_KERNEL, in evm_write_xattrs()
/linux-6.3-rc2/kernel/entry/
A Dcommon.c40 if (unlikely(audit_context())) { in syscall_enter_audit()
/linux-6.3-rc2/security/integrity/ima/
A Dima_api.c403 ab = audit_log_start(audit_context(), GFP_KERNEL, in ima_audit_measurement()
A Dima_policy.c1412 ab = integrity_audit_log_start(audit_context(), GFP_KERNEL, in ima_parse_rule()
/linux-6.3-rc2/security/selinux/ss/
A Dservices.c500 ab = audit_log_start(audit_context(), in security_dump_masked_av()
734 audit_log(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR, in security_validtrans_handle_fail()
925 audit_log(audit_context(), in security_bounded_transition()
1668 ab = audit_log_start(audit_context(), GFP_ATOMIC, AUDIT_SELINUX_ERR); in compute_sid_handle_invalid_context()
3106 audit_log(audit_context(), GFP_ATOMIC, in security_set_bools()
3264 ab = audit_log_start(audit_context(), in security_sid_mls_copy()
/linux-6.3-rc2/security/
A Dlsm_audit.c449 ab = audit_log_start(audit_context(), GFP_ATOMIC | __GFP_NOWARN, in common_lsm_audit()
/linux-6.3-rc2/security/selinux/
A Dselinuxfs.c173 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS, in sel_write_enforce()
319 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_STATUS, in sel_write_disable()
663 audit_log(audit_context(), GFP_KERNEL, AUDIT_MAC_POLICY_LOAD, in sel_write_load()
A Dhooks.c3208 ab = audit_log_start(audit_context(), in selinux_inode_setxattr()
6455 ab = audit_log_start(audit_context(), in selinux_setprocattr()
/linux-6.3-rc2/include/net/
A Dxfrm.h696 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, in xfrm_audit_start()
/linux-6.3-rc2/kernel/bpf/
A Dsyscall.c1983 struct audit_context *ctx = NULL; in bpf_audit_prog()
1991 ctx = audit_context(); in bpf_audit_prog()

Completed in 97 milliseconds

12