aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/audit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/audit.h')
-rw-r--r--include/linux/audit.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index 77adef64053..2f56546eb24 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -259,11 +259,11 @@ extern int audit_filter_user(int pid, int type);
259#ifdef CONFIG_AUDIT 259#ifdef CONFIG_AUDIT
260/* These are defined in audit.c */ 260/* These are defined in audit.c */
261 /* Public API */ 261 /* Public API */
262extern void audit_log(struct audit_context *ctx, int type, 262extern void audit_log(struct audit_context *ctx, int gfp_mask,
263 const char *fmt, ...) 263 int type, const char *fmt, ...)
264 __attribute__((format(printf,3,4))); 264 __attribute__((format(printf,4,5)));
265 265
266extern struct audit_buffer *audit_log_start(struct audit_context *ctx,int type); 266extern struct audit_buffer *audit_log_start(struct audit_context *ctx, int gfp_mask, int type);
267extern void audit_log_format(struct audit_buffer *ab, 267extern void audit_log_format(struct audit_buffer *ab,
268 const char *fmt, ...) 268 const char *fmt, ...)
269 __attribute__((format(printf,2,3))); 269 __attribute__((format(printf,2,3)));