lkml.org 
[lkml]   [2024]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] netlink: Remove the include of files doesn't exist
Date
The file for /security/selinux/security.h and the file for
/include/linux/selinux_netlink.h are no long exist. However the
preprocessor still performs the inclusion of those files, these
behaviors should be removed to ensure it's bug-free.

Signed-off-by: I Hsin Cheng <richard120310@gmail.com>
---
security/selinux/netlink.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/security/selinux/netlink.c b/security/selinux/netlink.c
index 1760aee71..8ce36abaa 100644
--- a/security/selinux/netlink.c
+++ b/security/selinux/netlink.c
@@ -13,11 +13,9 @@
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/skbuff.h>
-#include <linux/selinux_netlink.h>
#include <net/net_namespace.h>
#include <net/netlink.h>

-#include "security.h"

static struct sock *selnl __ro_after_init;

--
2.34.1

\
 
 \ /
  Last update: 2024-05-27 16:26    [W:0.023 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site