Lines Matching refs:audit_context
73 /* AUDIT_NAMES is the number of slots we reserve in the audit_context
166 struct audit_context {
181 struct audit_context *previous; /* For nested syscalls */
261 static int audit_match_perm(struct audit_context *ctx, int mask)
304 static int audit_match_filetype(struct audit_context *ctx, int which)
332 static void audit_set_auditable(struct audit_context *ctx)
340 static int put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk)
361 static int grow_tree_refs(struct audit_context *ctx)
378 static void unroll_tree_refs(struct audit_context *ctx,
408 static void free_tree_refs(struct audit_context *ctx)
417 static int match_tree_refs(struct audit_context *ctx, struct audit_tree *tree)
445 struct audit_context *ctx,
687 struct audit_context *ctx,
720 void audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx)
752 static inline struct audit_context *audit_get_context(struct task_struct *tsk,
756 struct audit_context *context = tsk->audit_context;
785 tsk->audit_context = NULL;
789 static inline void audit_free_names(struct audit_context *context)
826 static inline void audit_free_aux(struct audit_context *context)
840 static inline void audit_zero_context(struct audit_context *context,
848 static inline struct audit_context *audit_alloc_context(enum audit_state state)
850 struct audit_context *context;
870 struct audit_context *context;
888 tsk->audit_context = context;
893 static inline void audit_free_context(struct audit_context *context)
895 struct audit_context *previous;
978 static int audit_log_pid_context(struct audit_context *context, pid_t pid,
1018 static int audit_log_single_execve_arg(struct audit_context *context,
1154 static void audit_log_execve_info(struct audit_context *context,
1221 static void show_special(struct audit_context *context, int *call_panic)
1312 static void audit_log_exit(struct audit_context *context, struct task_struct *tsk)
1535 struct audit_context *context;
1576 struct audit_context *context = tsk->audit_context;
1597 struct audit_context *newctx;
1609 tsk->audit_context = newctx;
1648 struct audit_context *ctx = current->audit_context;
1649 struct audit_context *p = child->audit_context;
1680 struct audit_context *context;
1697 struct audit_context *new_context = context->previous;
1700 tsk->audit_context = new_context;
1716 tsk->audit_context = context;
1723 struct audit_context *context;
1729 context = current->audit_context;
1753 struct audit_context *context;
1760 context = current->audit_context;
1818 struct audit_context *context = current->audit_context;
1851 struct audit_context *context = current->audit_context;
1885 static int audit_inc_name_count(struct audit_context *context,
1958 struct audit_context *context = current->audit_context;
1998 struct audit_context *context = current->audit_context;
2079 * auditsc_get_stamp - get local copies of audit_context values
2080 * @ctx: audit_context for the task
2081 * @t: timespec to store time recorded in the audit_context
2082 * @serial: serial value that is recorded in the audit_context
2086 int auditsc_get_stamp(struct audit_context *ctx,
2107 * audit_set_loginuid - set a task's audit_context loginuid
2118 struct audit_context *context = task->audit_context;
2148 struct audit_context *context = current->audit_context;
2172 struct audit_context *context = current->audit_context;
2196 struct audit_context *context = current->audit_context;
2215 struct audit_context *context = current->audit_context;
2228 struct audit_context *context = current->audit_context;
2248 struct audit_context *context = current->audit_context;
2260 struct audit_context *context = current->audit_context;
2287 struct audit_context *context = current->audit_context;
2305 struct audit_context *context = current->audit_context;
2319 struct audit_context *context = current->audit_context;
2338 struct audit_context *context = current->audit_context;
2360 struct audit_context *ctx = tsk->audit_context;
2377 * in audit_context */
2426 struct audit_context *context = current->audit_context;
2469 struct audit_context *context = current->audit_context;
2522 struct audit_context *ctx = current->audit_context;