selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
authorLorenzo Colitti <lorenzo@google.com>
Wed, 3 Feb 2016 16:17:12 +0000 (01:17 +0900)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Feb 2016 09:55:05 +0000 (04:55 -0500)
commit08ff924e7fa7b826396f5ef1cb15656db7fb6545
treeb5fbd11cbaa376662e9c272757e884b3ffb0d272
parent7a84bd46647ff181eb2659fdc99590e6f16e501d
selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables

Without this, using SOCK_DESTROY in enforcing mode results in:

  SELinux: unrecognized netlink message type=21 for sclass=32

Signed-off-by: Lorenzo Colitti <lorenzo@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
security/selinux/nlmsgtab.c