diff options
author | Paul Moore <paul@paul-moore.com> | 2017-05-02 10:16:05 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2017-05-02 10:16:05 -0400 |
commit | b6c7c115c2ce679ac536f0adf0ff518fcd939196 (patch) | |
tree | 0c7671fe200ec777495bec8c830ef17c12e76255 /kernel/audit.h | |
parent | 45a0642b4d021a2f50d5db9c191b5bfe60bfa1c7 (diff) |
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 'kernel/audit.h')
-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, | |||
218 | struct audit_names *n, const struct path *path, | 218 | struct audit_names *n, const struct path *path, |
219 | int record_num, int *call_panic); | 219 | int record_num, int *call_panic); |
220 | 220 | ||
221 | extern int auditd_test_task(const struct task_struct *task); | 221 | extern int auditd_test_task(struct task_struct *task); |
222 | 222 | ||
223 | #define AUDIT_INODE_BUCKETS 32 | 223 | #define AUDIT_INODE_BUCKETS 32 |
224 | extern struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS]; | 224 | extern struct list_head audit_inode_hash[AUDIT_INODE_BUCKETS]; |