diff options
author | Paul Moore <paul@paul-moore.com> | 2018-11-28 12:57:33 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2018-11-29 11:32:02 -0500 |
commit | 598e1a42e9626213565d3b22ea948ce78556512a (patch) | |
tree | ac1e1196cb004ea8c1b0ecd5ac623dc58c1a2d02 /fs | |
parent | 877181a8d9dc663f7a73f77f50af714d7888ec3b (diff) |
selinux: add support for RTM_NEWCHAIN, RTM_DELCHAIN, and RTM_GETCHAIN
Commit 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
added new RTM_* definitions without properly updating SELinux, this
patch adds the necessary SELinux support.
While there was a BUILD_BUG_ON() in the SELinux code to protect from
exactly this case, it was bypassed in the broken commit. In order to
hopefully prevent this from happening in the future, add additional
comments which provide some instructions on how to resolve the
BUILD_BUG_ON() failures.
Fixes: 32a4f5ecd738 ("net: sched: introduce chain object to uapi")
Cc: <stable@vger.kernel.org> # 4.19
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions