aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/audit.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index b5bda24f7365..5f812e4d01e4 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -220,7 +220,7 @@ extern void audit_syscall_entry(struct task_struct *task, int arch,
220extern void audit_syscall_exit(struct task_struct *task, int failed, long return_code); 220extern void audit_syscall_exit(struct task_struct *task, int failed, long return_code);
221extern void audit_getname(const char *name); 221extern void audit_getname(const char *name);
222extern void audit_putname(const char *name); 222extern void audit_putname(const char *name);
223extern void audit_inode(const char *name, const struct inode *inode); 223extern void audit_inode(const char *name, const struct inode *inode, unsigned flags);
224 224
225 /* Private API (for audit.c only) */ 225 /* Private API (for audit.c only) */
226extern int audit_receive_filter(int type, int pid, int uid, int seq, 226extern int audit_receive_filter(int type, int pid, int uid, int seq,
@@ -243,7 +243,7 @@ extern int audit_filter_user(struct task_struct *tsk, int type);
243#define audit_syscall_exit(t,f,r) do { ; } while (0) 243#define audit_syscall_exit(t,f,r) do { ; } while (0)
244#define audit_getname(n) do { ; } while (0) 244#define audit_getname(n) do { ; } while (0)
245#define audit_putname(n) do { ; } while (0) 245#define audit_putname(n) do { ; } while (0)
246#define audit_inode(n,i) do { ; } while (0) 246#define audit_inode(n,i,f) do { ; } while (0)
247#define audit_receive_filter(t,p,u,s,d,l) ({ -EOPNOTSUPP; }) 247#define audit_receive_filter(t,p,u,s,d,l) ({ -EOPNOTSUPP; })
248#define auditsc_get_stamp(c,t,s) do { BUG(); } while (0) 248#define auditsc_get_stamp(c,t,s) do { BUG(); } while (0)
249#define audit_get_loginuid(c) ({ -1; }) 249#define audit_get_loginuid(c) ({ -1; })