selinux: nlmsgtab: add SOCK_DESTROY to the netlink mapping tables
authorLorenzo Colitti <lorenzo@google.com>
Wed, 3 Feb 2016 15:52:15 +0000 (00:52 +0900)
committerHuang, Tao <huangtao@rock-chips.com>
Sun, 22 Jan 2017 08:26:09 +0000 (16:26 +0800)
commit292ff06061ea99588871b6107c65de4b1006110c
treef138f0fe8a2f068a83cd5d939159b877a84940fa
parent5045fa1a3820cc314d9bb3b9ac9cd417ac2f1502
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

Change-Id: I7862bb0fc83573567243ffa9549a2c7405b5986c
security/selinux/nlmsgtab.c