[SELINUX]: Update for tcp_diag rename to inet_diag.
Also, support dccp sockets. Signed-off-by: James Morris <jmorris@namei.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
066286071d
commit
216efaaaa0
@@ -659,7 +659,7 @@ static inline u16 socket_type_to_security_class(int family, int type, int protoc
|
||||
return SECCLASS_NETLINK_ROUTE_SOCKET;
|
||||
case NETLINK_FIREWALL:
|
||||
return SECCLASS_NETLINK_FIREWALL_SOCKET;
|
||||
case NETLINK_TCPDIAG:
|
||||
case NETLINK_INET_DIAG:
|
||||
return SECCLASS_NETLINK_TCPDIAG_SOCKET;
|
||||
case NETLINK_NFLOG:
|
||||
return SECCLASS_NETLINK_NFLOG_SOCKET;
|
||||
|
Reference in New Issue
Block a user