diff options
Diffstat (limited to 'security/selinux/include/objsec.h')
-rw-r--r-- | security/selinux/include/objsec.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 2d0a92e97d5a..95fb5ec17354 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h | |||
@@ -100,6 +100,15 @@ struct netif_security_struct { | |||
100 | u32 sid; /* SID for this interface */ | 100 | u32 sid; /* SID for this interface */ |
101 | }; | 101 | }; |
102 | 102 | ||
103 | struct netnode_security_struct { | ||
104 | union { | ||
105 | __be32 ipv4; /* IPv4 node address */ | ||
106 | struct in6_addr ipv6; /* IPv6 node address */ | ||
107 | } addr; | ||
108 | u32 sid; /* SID for this node */ | ||
109 | u16 family; /* address family */ | ||
110 | }; | ||
111 | |||
103 | struct sk_security_struct { | 112 | struct sk_security_struct { |
104 | struct sock *sk; /* back pointer to sk object */ | 113 | struct sock *sk; /* back pointer to sk object */ |
105 | u32 sid; /* SID of this object */ | 114 | u32 sid; /* SID of this object */ |