aboutsummaryrefslogtreecommitdiffstats
path: root/security/smack
diff options
context:
space:
mode:
authorPaul Moore <paul@paul-moore.com>2018-11-28 12:57:33 -0500
committerPaul Moore <paul@paul-moore.com>2018-11-29 11:32:02 -0500
commit598e1a42e9626213565d3b22ea948ce78556512a (patch)
treeac1e1196cb004ea8c1b0ecd5ac623dc58c1a2d02 /security/smack
parentselinux: fix non-MLS handling in mls_context_to_sid() (diff)
downloadlinux-dev-598e1a42e9626213565d3b22ea948ce78556512a.tar.xz
linux-dev-598e1a42e9626213565d3b22ea948ce78556512a.zip
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 'security/smack')
0 files changed, 0 insertions, 0 deletions