[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220621063824.241527-1-xiujianfeng@huawei.com>
Date: Tue, 21 Jun 2022 14:38:24 +0800
From: Xiu Jianfeng <xiujianfeng@...wei.com>
To: <paul@...l-moore.com>, <stephen.smalley.work@...il.com>,
<eparis@...isplace.org>
CC: <selinux@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH -next] selinux: Cleanup the enum SEL_COMPAT_NET
The "compat_net" compatibility code has been removed since commit
58bfbb51ff2b ("selinux: Remove the "compat_net" compatibility code"),
so SEL_COMPAT_NET need to be removed as well.
Signed-off-by: Xiu Jianfeng <xiujianfeng@...wei.com>
---
security/selinux/selinuxfs.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/security/selinux/selinuxfs.c b/security/selinux/selinuxfs.c
index 8fcdd494af27..7115ca91ec05 100644
--- a/security/selinux/selinuxfs.c
+++ b/security/selinux/selinuxfs.c
@@ -58,7 +58,6 @@ enum sel_inos {
SEL_DISABLE, /* disable SELinux until next reboot */
SEL_MEMBER, /* compute polyinstantiation membership decision */
SEL_CHECKREQPROT, /* check requested protection, not kernel-applied one */
- SEL_COMPAT_NET, /* whether to use old compat network packet controls */
SEL_REJECT_UNKNOWN, /* export unknown reject handling to userspace */
SEL_DENY_UNKNOWN, /* export unknown deny handling to userspace */
SEL_STATUS, /* export current status using mmap() */
--
2.17.1
Powered by blists - more mailing lists