selinux/nlmsg: add XFRM_MSG_MAPPING
[firefly-linux-kernel-4.4.55.git] / security / selinux / nlmsgtab.c
index a0f7e694c7a327d396c90f36c9064abea6da4a23..c68338249df652d741972949cfebd34873eb2e95 100644 (file)
@@ -104,6 +104,7 @@ static struct nlmsg_perm nlmsg_xfrm_perms[] =
        { XFRM_MSG_GETSADINFO,  NETLINK_XFRM_SOCKET__NLMSG_READ  },
        { XFRM_MSG_NEWSPDINFO,  NETLINK_XFRM_SOCKET__NLMSG_WRITE },
        { XFRM_MSG_GETSPDINFO,  NETLINK_XFRM_SOCKET__NLMSG_READ  },
+       { XFRM_MSG_MAPPING,     NETLINK_XFRM_SOCKET__NLMSG_READ  },
 };
 
 static struct nlmsg_perm nlmsg_audit_perms[] =