Skip to content

Commit 9cc034b

Browse files
cgzonespcmoore
authored andcommitted
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>
1 parent 47a1a15 commit 9cc034b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

security/selinux/include/objsec.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ struct ipc_security_struct {
8282
};
8383

8484
struct netif_security_struct {
85-
struct net *ns; /* network namespace */
85+
const struct net *ns; /* network namespace */
8686
int ifindex; /* device index */
8787
u32 sid; /* SID for this interface */
8888
};

0 commit comments

Comments
 (0)