diff options
author | Paul Moore <paul@paul-moore.com> | 2017-05-02 16:16:05 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-05-02 16:16:05 +0200 |
commit | b6c7c115c2ce679ac536f0adf0ff518fcd939196 (patch) | |
tree | 0c7671fe200ec777495bec8c830ef17c12e76255 /kernel/audit.h | |
parent | audit: kernel generated netlink traffic should have a portid of 0 (diff) | |
download | linux-b6c7c115c2ce679ac536f0adf0ff518fcd939196.tar.xz linux-b6c7c115c2ce679ac536f0adf0ff518fcd939196.zip |
audit: store the auditd PID as a pid struct instead of pid_t
This is arguably the right thing to do, and will make it easier when
we start supporting multiple audit daemons in different namespaces.
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to '')
-rw-r--r-- | kernel/audit.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.h b/kernel/audit.h index 18f3c2deeccf..4987ea2a4702 100644 --- a/kernel/audit.h +++ b/kernel/audit.h @@ -218,7 +218,7 @@ extern void audit_log_name(struct audit_context *context, struct audit_names *n, const struct path *path, int record_num, int *call_panic); -extern int auditd_test_task(const struct task_struct *task); +extern int auditd_test_task(struct task_struct *task); #define AUDIT_INODE_BUCKETS 32 extern struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS]; |