aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/include/netnode.h
diff options
context:
space:
mode:
authorChristian Göttsche <[email protected]>2025-03-18 08:33:34 +0000
committerPaul Moore <[email protected]>2025-04-11 20:29:50 +0000
commit47a1a15645d558699765f0f7e82032302ae47a46 (patch)
treea47ad8fc169c6c2d44afef07b77dbe4741e8dbd5 /security/selinux/include/netnode.h
parentLinux 6.15-rc1 (diff)
downloadkernel-47a1a15645d558699765f0f7e82032302ae47a46.tar.gz
kernel-47a1a15645d558699765f0f7e82032302ae47a46.zip
selinux: constify network address pointer
The network address, either an IPv4 or IPv6 one, is not modified. Signed-off-by: Christian Göttsche <[email protected]> Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'security/selinux/include/netnode.h')
-rw-r--r--security/selinux/include/netnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/netnode.h b/security/selinux/include/netnode.h
index 9b8b655a8cd3..e4dc904c3585 100644
--- a/security/selinux/include/netnode.h
+++ b/security/selinux/include/netnode.h
@@ -21,6 +21,6 @@
void sel_netnode_flush(void);
-int sel_netnode_sid(void *addr, u16 family, u32 *sid);
+int sel_netnode_sid(const void *addr, u16 family, u32 *sid);
#endif