diff options
author | 2020-04-28 09:59:02 -0400 | |
---|---|---|
committer | 2020-04-30 16:18:37 -0400 | |
commit | fb73974172ffaaf57a7c42f35424d9aece1a5af6 (patch) | |
tree | 709665d3970193b6f393131418bbbdd0fa26e0f4 /tools/perf/scripts/python/stackcollapse.py | |
parent | selinux: fix error return code in cond_read_list() (diff) | |
download | linux-dev-fb73974172ffaaf57a7c42f35424d9aece1a5af6.tar.xz linux-dev-fb73974172ffaaf57a7c42f35424d9aece1a5af6.zip |
selinux: properly handle multiple messages in selinux_netlink_send()
Fix the SELinux netlink_send hook to properly handle multiple netlink
messages in a single sk_buff; each message is parsed and subject to
SELinux access control. Prior to this patch, SELinux only inspected
the first message in the sk_buff.
Cc: stable@vger.kernel.org
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Reviewed-by: Stephen Smalley <stephen.smalley.work@gmail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions