All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 2/6] selinux: contify network namespace pointer
@ 2025-03-18  8:33 Christian Göttsche
  2025-03-18  8:33 ` [RFC PATCH 3/6] selinux: add likely hints for fast paths Christian Göttsche
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Christian Göttsche @ 2025-03-18  8:33 UTC (permalink / raw)
  Cc: Christian Göttsche, Paul Moore, Stephen Smalley,
	Ondrej Mosnacek, Casey Schaufler, John Johansen,
	Thiébaud Weksteen, Bram Bonné, Canfeng Guo, GUO Zihua,
	selinux, linux-kernel

From: Christian Göttsche <cgzones@googlemail.com>

The network namespace is not modified.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
---
 security/selinux/include/objsec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h
index c88cae81ee4c..b11c97c9feed 100644
--- a/security/selinux/include/objsec.h
+++ b/security/selinux/include/objsec.h
@@ -82,7 +82,7 @@ struct ipc_security_struct {
 };
 
 struct netif_security_struct {
-	struct net *ns; /* network namespace */
+	const struct net *ns; /* network namespace */
 	int ifindex; /* device index */
 	u32 sid; /* SID for this interface */
 };
-- 
2.49.0


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

end of thread, other threads:[~2025-05-20 21:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-18  8:33 [RFC PATCH 2/6] selinux: contify network namespace pointer Christian Göttsche
2025-03-18  8:33 ` [RFC PATCH 3/6] selinux: add likely hints for fast paths Christian Göttsche
2025-04-11 20:29   ` [PATCH RFC " Paul Moore
2025-03-18  8:33 ` [RFC PATCH 4/6] selinux: improve network lookup failure warnings Christian Göttsche
2025-04-11 20:29   ` [PATCH RFC " Paul Moore
2025-04-15 14:28     ` Christian Göttsche
2025-05-20 21:09   ` Paul Moore
2025-03-18  8:33 ` [RFC PATCH 5/6] selinux: unify OOM handling in network hashtables Christian Göttsche
2025-04-11 20:29   ` [PATCH RFC " Paul Moore
2025-03-18  8:33 ` [RFC PATCH 6/6] selinux: add cache stats for network tables Christian Göttsche
2025-03-18  8:33 ` [RFC PATCH 1/6] selinux: constify network address pointer Christian Göttsche
2025-04-11 20:29   ` [PATCH RFC " Paul Moore
2025-04-11 20:29 ` [PATCH RFC 2/6] selinux: contify network namespace pointer Paul Moore

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.