diff options
author | Xiu Jianfeng <xiujianfeng@huawei.com> | 2023-07-20 01:50:32 +0000 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2023-07-20 15:06:58 -0400 |
commit | be4187faa8a48cfef572eba9e3882fb2134bdf67 (patch) | |
tree | 30af3da1d77de9647913eafba86df63617a78704 | |
parent | 06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5 (diff) |
audit: include security.h unconditionally
The ifdef-else logic is already in the header file, so include it
unconditionally, no functional changes here.
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
[PM: fixed misspelling in the subject]
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 9bc0b0301198..45b2fb1e45af 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -53,9 +53,7 @@ #include <net/sock.h> #include <net/netlink.h> #include <linux/skbuff.h> -#ifdef CONFIG_SECURITY #include <linux/security.h> -#endif #include <linux/freezer.h> #include <linux/pid_namespace.h> #include <net/netns/generic.h> |