SELinux: Add network port SID cache
[linux-3.10.git] / security / selinux / include / objsec.h
index 957b10d0f76fd64f5f9b26f62ca2deb608132959..300b61bad7b3738cf5934b9b3e328d410361e418 100644 (file)
@@ -103,6 +103,12 @@ struct netnode_security_struct {
        u16 family;                     /* address family */
 };
 
+struct netport_security_struct {
+       u32 sid;                        /* SID for this node */
+       u16 port;                       /* port number */
+       u8 protocol;                    /* transport protocol */
+};
+
 struct sk_security_struct {
        u32 sid;                        /* SID of this object */
        u32 peer_sid;                   /* SID of peer */