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.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h
index fde0f1420cd2..22976ddbd264 100644
--- a/include/linux/audit.h
+++ b/include/linux/audit.h
@@ -355,7 +355,6 @@ extern void audit_putname(const char *name);
355extern void __audit_inode(const char *name, const struct inode *inode); 355extern void __audit_inode(const char *name, const struct inode *inode);
356extern void __audit_inode_child(const char *dname, const struct inode *inode, 356extern void __audit_inode_child(const char *dname, const struct inode *inode,
357 const struct inode *parent); 357 const struct inode *parent);
358extern void __audit_inode_update(const struct inode *inode);
359extern void __audit_ptrace(struct task_struct *t); 358extern void __audit_ptrace(struct task_struct *t);
360 359
361static inline int audit_dummy_context(void) 360static inline int audit_dummy_context(void)
@@ -378,10 +377,6 @@ static inline void audit_inode_child(const char *dname,
378 if (unlikely(!audit_dummy_context())) 377 if (unlikely(!audit_dummy_context()))
379 __audit_inode_child(dname, inode, parent); 378 __audit_inode_child(dname, inode, parent);
380} 379}
381static inline void audit_inode_update(const struct inode *inode) {
382 if (unlikely(!audit_dummy_context()))
383 __audit_inode_update(inode);
384}
385 380
386static inline void audit_ptrace(struct task_struct *t) 381static inline void audit_ptrace(struct task_struct *t)
387{ 382{
@@ -470,10 +465,8 @@ extern int audit_signals;
470#define audit_putname(n) do { ; } while (0) 465#define audit_putname(n) do { ; } while (0)
471#define __audit_inode(n,i) do { ; } while (0) 466#define __audit_inode(n,i) do { ; } while (0)
472#define __audit_inode_child(d,i,p) do { ; } while (0) 467#define __audit_inode_child(d,i,p) do { ; } while (0)
473#define __audit_inode_update(i) do { ; } while (0)
474#define audit_inode(n,i) do { ; } while (0) 468#define audit_inode(n,i) do { ; } while (0)
475#define audit_inode_child(d,i,p) do { ; } while (0) 469#define audit_inode_child(d,i,p) do { ; } while (0)
476#define audit_inode_update(i) do { ; } while (0)
477#define auditsc_get_stamp(c,t,s) do { BUG(); } while (0) 470#define auditsc_get_stamp(c,t,s) do { BUG(); } while (0)
478#define audit_get_loginuid(c) ({ -1; }) 471#define audit_get_loginuid(c) ({ -1; })
479#define audit_log_task_context(b) do { ; } while (0) 472#define audit_log_task_context(b) do { ; } while (0)