|
@@ -17,6 +17,7 @@
|
|
|
#include <linux/inet_diag.h>
|
|
|
#include <linux/xfrm.h>
|
|
|
#include <linux/audit.h>
|
|
|
+#include <linux/sock_diag.h>
|
|
|
|
|
|
#include "flask.h"
|
|
|
#include "av_permissions.h"
|
|
@@ -78,6 +79,7 @@ static struct nlmsg_perm nlmsg_tcpdiag_perms[] =
|
|
|
{
|
|
|
{ TCPDIAG_GETSOCK, NETLINK_TCPDIAG_SOCKET__NLMSG_READ },
|
|
|
{ DCCPDIAG_GETSOCK, NETLINK_TCPDIAG_SOCKET__NLMSG_READ },
|
|
|
+ { SOCK_DIAG_BY_FAMILY, NETLINK_TCPDIAG_SOCKET__NLMSG_READ },
|
|
|
};
|
|
|
|
|
|
static struct nlmsg_perm nlmsg_xfrm_perms[] =
|