aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 1c47c59058c1..39fef6ebb854 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -287,10 +287,10 @@ struct netlink_skb_parms;
287 /* Public API */ 287 /* Public API */
288extern int audit_alloc(struct task_struct *task); 288extern int audit_alloc(struct task_struct *task);
289extern void audit_free(struct task_struct *task); 289extern void audit_free(struct task_struct *task);
290extern void audit_syscall_entry(struct task_struct *task, int arch, 290extern void audit_syscall_entry(int arch,
291 int major, unsigned long a0, unsigned long a1, 291 int major, unsigned long a0, unsigned long a1,
292 unsigned long a2, unsigned long a3); 292 unsigned long a2, unsigned long a3);
293extern void audit_syscall_exit(struct task_struct *task, int failed, long return_code); 293extern void audit_syscall_exit(int failed, long return_code);
294extern void audit_getname(const char *name); 294extern void audit_getname(const char *name);
295extern void audit_putname(const char *name); 295extern void audit_putname(const char *name);
296extern void __audit_inode(const char *name, const struct inode *inode, unsigned flags); 296extern void __audit_inode(const char *name, const struct inode *inode, unsigned flags);
@@ -323,8 +323,8 @@ extern int audit_set_macxattr(const char *name);
323#else 323#else
324#define audit_alloc(t) ({ 0; }) 324#define audit_alloc(t) ({ 0; })
325#define audit_free(t) do { ; } while (0) 325#define audit_free(t) do { ; } while (0)
326#define audit_syscall_entry(t,ta,a,b,c,d,e) do { ; } while (0) 326#define audit_syscall_entry(ta,a,b,c,d,e) do { ; } while (0)
327#define audit_syscall_exit(t,f,r) do { ; } while (0) 327#define audit_syscall_exit(f,r) do { ; } while (0)
328#define audit_getname(n) do { ; } while (0) 328#define audit_getname(n) do { ; } while (0)
329#define audit_putname(n) do { ; } while (0) 329#define audit_putname(n) do { ; } while (0)
330#define __audit_inode(n,i,f) do { ; } while (0) 330#define __audit_inode(n,i,f) do { ; } while (0)