|
@@ -232,7 +232,7 @@ extern void __audit_file(const struct file *);
|
|
|
extern void __audit_inode_child(struct inode *parent,
|
|
|
const struct dentry *dentry,
|
|
|
const unsigned char type);
|
|
|
-extern void __audit_seccomp(unsigned long syscall, long signr, int code);
|
|
|
+extern void audit_seccomp(unsigned long syscall, long signr, int code);
|
|
|
extern void audit_seccomp_actions_logged(const char *names,
|
|
|
const char *old_names, int res);
|
|
|
extern void __audit_ptrace(struct task_struct *t);
|
|
@@ -304,12 +304,6 @@ static inline void audit_inode_child(struct inode *parent,
|
|
|
}
|
|
|
void audit_core_dumps(long signr);
|
|
|
|
|
|
-static inline void audit_seccomp(unsigned long syscall, long signr, int code)
|
|
|
-{
|
|
|
- if (audit_enabled && unlikely(!audit_dummy_context()))
|
|
|
- __audit_seccomp(syscall, signr, code);
|
|
|
-}
|
|
|
-
|
|
|
static inline void audit_ptrace(struct task_struct *t)
|
|
|
{
|
|
|
if (unlikely(!audit_dummy_context()))
|
|
@@ -500,8 +494,6 @@ static inline void audit_inode_child(struct inode *parent,
|
|
|
{ }
|
|
|
static inline void audit_core_dumps(long signr)
|
|
|
{ }
|
|
|
-static inline void __audit_seccomp(unsigned long syscall, long signr, int code)
|
|
|
-{ }
|
|
|
static inline void audit_seccomp(unsigned long syscall, long signr, int code)
|
|
|
{ }
|
|
|
static inline void audit_seccomp_actions_logged(const char *names,
|