From: Christian Göttsche Date: Tue, 18 Mar 2025 08:33:29 +0000 (+0100) Subject: selinux: contify network namespace pointer X-Git-Tag: v6.16-rc1~147^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9cc034be10a52c30719f8b9436d81b981421bfb7;p=thirdparty%2Flinux.git selinux: contify network namespace pointer The network namespace is not modified. Signed-off-by: Christian Göttsche Signed-off-by: Paul Moore --- diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index c88cae81ee4c5..b11c97c9feedd 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 */ };