提交 d97e9938 编写于 作者: M MaYuming 提交者: Paul Moore

audit: add header protection to kernel/audit.h

Protect kernel/audit.h against multiple #include's.
Signed-off-by: NMaYuming <mayuming77@hotmail.com>
[PM: rewrite subj/description]
Signed-off-by: NPaul Moore <paul@paul-moore.com>
上级 e73f0f0e
......@@ -6,6 +6,9 @@
* Copyright 2005 IBM Corporation
*/
#ifndef _KERNEL_AUDIT_H_
#define _KERNEL_AUDIT_H_
#include <linux/fs.h>
#include <linux/audit.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_unlock(void);
#endif
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册