mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] selinux: Remove unused function selinux_policycap_netif_wildcard()
@ 2025-07-23 12:23 Yue Haibing
  2025-07-24 19:02 ` Stephen Smalley
  2025-08-05 21:22 ` [PATCH] " Paul Moore
  0 siblings, 2 replies; 4+ messages in thread
From: Yue Haibing @ 2025-07-23 12:23 UTC (permalink / raw)
  To: paul, stephen.smalley.work, omosnace; +Cc: selinux, linux-kernel, yuehaibing

This is unused since commit a3d3043ef24a ("selinux: get netif_wildcard
policycap from policy instead of cache").

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 security/selinux/include/security.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/security/selinux/include/security.h b/security/selinux/include/security.h
index 8201e6a3ac0f..7f19972f7922 100644
--- a/security/selinux/include/security.h
+++ b/security/selinux/include/security.h
@@ -203,12 +203,6 @@ static inline bool selinux_policycap_netlink_xperm(void)
 		selinux_state.policycap[POLICYDB_CAP_NETLINK_XPERM]);
 }
 
-static inline bool selinux_policycap_netif_wildcard(void)
-{
-	return READ_ONCE(
-		selinux_state.policycap[POLICYDB_CAP_NETIF_WILDCARD]);
-}
-
 struct selinux_policy_convert_data;
 
 struct selinux_load_state {
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-11 22:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-23 12:23 [PATCH -next] selinux: Remove unused function selinux_policycap_netif_wildcard() Yue Haibing
2025-07-24 19:02 ` Stephen Smalley
2025-08-05 21:22 ` [PATCH] " Paul Moore
2025-08-11 22:18   ` Paul Moore

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®