Home
last modified time | relevance | path

Searched refs:ab (Results 1 – 7 of 7) sorted by relevance

/kernel/
Daudit.c383 struct audit_buffer *ab; in audit_log_config_change() local
386 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_config_change()
387 if (unlikely(!ab)) in audit_log_config_change()
389 audit_log_format(ab, "op=set %s=%u old=%u ", function_name, new, old); in audit_log_config_change()
390 audit_log_session_info(ab); in audit_log_config_change()
391 rc = audit_log_task_context(ab); in audit_log_config_change()
394 audit_log_format(ab, " res=%d", allow_changes); in audit_log_config_change()
395 audit_log_end(ab); in audit_log_config_change()
1044 struct audit_buffer **ab, u16 msg_type) in audit_log_common_recv_msg() argument
1050 *ab = NULL; in audit_log_common_recv_msg()
[all …]
Dauditsc.c959 struct audit_buffer *ab; in audit_log_pid_context() local
964 ab = audit_log_start(context, GFP_KERNEL, AUDIT_OBJ_PID); in audit_log_pid_context()
965 if (!ab) in audit_log_pid_context()
968 audit_log_format(ab, "opid=%d oauid=%d ouid=%d oses=%d", pid, in audit_log_pid_context()
973 audit_log_format(ab, " obj=(none)"); in audit_log_pid_context()
976 audit_log_format(ab, " obj=%s", ctx); in audit_log_pid_context()
980 audit_log_format(ab, " ocomm="); in audit_log_pid_context()
981 audit_log_untrustedstring(ab, comm); in audit_log_pid_context()
982 audit_log_end(ab); in audit_log_pid_context()
988 struct audit_buffer **ab) in audit_log_execve_info() argument
[all …]
Daudit_fsnotify.c116 struct audit_buffer *ab; in audit_mark_log_rule_change() local
121 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_mark_log_rule_change()
122 if (unlikely(!ab)) in audit_mark_log_rule_change()
124 audit_log_session_info(ab); in audit_mark_log_rule_change()
125 audit_log_format(ab, " op=%s path=", op); in audit_mark_log_rule_change()
126 audit_log_untrustedstring(ab, audit_mark->path); in audit_mark_log_rule_change()
127 audit_log_key(ab, rule->filterkey); in audit_mark_log_rule_change()
128 audit_log_format(ab, " list=%d res=1", rule->listnr); in audit_mark_log_rule_change()
129 audit_log_end(ab); in audit_mark_log_rule_change()
Daudit_watch.c228 struct audit_buffer *ab; in audit_watch_log_rule_change() local
232 ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE); in audit_watch_log_rule_change()
233 if (!ab) in audit_watch_log_rule_change()
235 audit_log_session_info(ab); in audit_watch_log_rule_change()
236 audit_log_format(ab, "op=%s path=", op); in audit_watch_log_rule_change()
237 audit_log_untrustedstring(ab, w->path); in audit_watch_log_rule_change()
238 audit_log_key(ab, r->filterkey); in audit_watch_log_rule_change()
239 audit_log_format(ab, " list=%d res=1", r->listnr); in audit_watch_log_rule_change()
240 audit_log_end(ab); in audit_watch_log_rule_change()
Daudit_tree.c530 struct audit_buffer *ab; in audit_tree_log_remove_rule() local
534 ab = audit_log_start(context, GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_tree_log_remove_rule()
535 if (unlikely(!ab)) in audit_tree_log_remove_rule()
537 audit_log_format(ab, "op=remove_rule dir="); in audit_tree_log_remove_rule()
538 audit_log_untrustedstring(ab, rule->tree->pathname); in audit_tree_log_remove_rule()
539 audit_log_key(ab, rule->filterkey); in audit_tree_log_remove_rule()
540 audit_log_format(ab, " list=%d res=1", rule->listnr); in audit_tree_log_remove_rule()
541 audit_log_end(ab); in audit_tree_log_remove_rule()
Dauditfilter.c1093 struct audit_buffer *ab; in audit_log_rule_change() local
1098 ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); in audit_log_rule_change()
1099 if (!ab) in audit_log_rule_change()
1101 audit_log_session_info(ab); in audit_log_rule_change()
1102 audit_log_task_context(ab); in audit_log_rule_change()
1103 audit_log_format(ab, " op=%s", action); in audit_log_rule_change()
1104 audit_log_key(ab, rule->filterkey); in audit_log_rule_change()
1105 audit_log_format(ab, " list=%d res=%d", rule->listnr, res); in audit_log_rule_change()
1106 audit_log_end(ab); in audit_log_rule_change()
Daudit.h201 extern void audit_log_session_info(struct audit_buffer *ab);
243 extern void audit_log_d_path_exe(struct audit_buffer *ab,