Home
last modified time | relevance | path

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

12

/linux/kernel/
A Dauditsc.c1565 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 Daudit.h102 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 Daudit.c201 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 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_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 Daudit_fsnotify.c121 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
A Dauditfilter.c1114 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_rule_change()
/linux/include/linux/
A Daudit.h28 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 Dsched.h40 struct audit_context;
1093 struct audit_context *audit_context; member
A Dsecurity.h41 struct audit_context;
/linux/security/integrity/
A Dintegrity.h248 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 Dintegrity_audit.c47 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_msgno); in integrity_audit_message()
/linux/net/netlabel/
A Dnetlabel_user.c93 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, type); in netlbl_audit_start_common()
/linux/drivers/md/
A Ddm-audit.c28 ab = audit_log_start(audit_context(), GFP_KERNEL, audit_type); in dm_audit_log_start()
/linux/drivers/tty/
A Dtty_audit.c70 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_TTY); in tty_audit_log()
/linux/security/integrity/evm/
A Devm_secfs.c198 ab = audit_log_start(audit_context(), GFP_KERNEL, in evm_write_xattrs()
/linux/kernel/entry/
A Dcommon.c36 if (unlikely(audit_context())) { in syscall_enter_audit()
/linux/security/integrity/ima/
A Dima_api.c363 ab = audit_log_start(audit_context(), GFP_KERNEL, in ima_audit_measurement()
A Dima_policy.c1336 ab = integrity_audit_log_start(audit_context(), GFP_KERNEL, in ima_parse_rule()
/linux/security/selinux/ss/
A Dservices.c506 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 Dlsm_audit.c457 ab = audit_log_start(audit_context(), GFP_ATOMIC | __GFP_NOWARN, in common_lsm_audit()
/linux/security/selinux/
A Dselinuxfs.c173 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 Dhooks.c3316 ab = audit_log_start(audit_context(), in selinux_inode_setxattr()
6498 ab = audit_log_start(audit_context(), in selinux_setprocattr()
/linux/include/net/
A Dxfrm.h669 audit_buf = audit_log_start(audit_context(), GFP_ATOMIC, in xfrm_audit_start()
/linux/kernel/bpf/
A Dsyscall.c1705 struct audit_context *ctx = NULL; in bpf_audit_prog()
1713 ctx = audit_context(); in bpf_audit_prog()

Completed in 82 milliseconds

12