mirror of
https://github.com/torvalds/linux.git
synced 2025-11-03 10:10:33 +02:00
audit: add header protection to kernel/audit.h
Protect kernel/audit.h against multiple #include's. Signed-off-by: MaYuming <mayuming77@hotmail.com> [PM: rewrite subj/description] Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
e73f0f0ee7
commit
d97e99386a
1 changed files with 5 additions and 0 deletions
|
|
@ -6,6 +6,9 @@
|
||||||
* Copyright 2005 IBM Corporation
|
* Copyright 2005 IBM Corporation
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef _KERNEL_AUDIT_H_
|
||||||
|
#define _KERNEL_AUDIT_H_
|
||||||
|
|
||||||
#include <linux/fs.h>
|
#include <linux/fs.h>
|
||||||
#include <linux/audit.h>
|
#include <linux/audit.h>
|
||||||
#include <linux/skbuff.h>
|
#include <linux/skbuff.h>
|
||||||
|
|
@ -331,3 +334,5 @@ extern int audit_filter(int msgtype, unsigned int listtype);
|
||||||
|
|
||||||
extern void audit_ctl_lock(void);
|
extern void audit_ctl_lock(void);
|
||||||
extern void audit_ctl_unlock(void);
|
extern void audit_ctl_unlock(void);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue