diff options
author | 2025-03-18 09:33:29 +0100 | |
---|---|---|
committer | 2025-04-11 16:29:51 -0400 | |
commit | 9cc034be10a52c30719f8b9436d81b981421bfb7 (patch) | |
tree | 55b5ec9c6c86d657c148a83118e00d893c14c051 /security | |
parent | selinux: constify network address pointer (diff) | |
download | linux-rng-9cc034be10a52c30719f8b9436d81b981421bfb7.tar.xz linux-rng-9cc034be10a52c30719f8b9436d81b981421bfb7.zip |
selinux: contify network namespace pointer
The network namespace is not modified.
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/include/objsec.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ }; |