Files
android_kernel_samsung_msm8…/security
Vladis Dronov 20c292862a selinux: rate-limit netlink message warnings in selinux_nlmsg_perm()
commit 76319946f321e30872dd72af7de867cb26e7a373 upstream.

Any process is able to send netlink messages with invalid types.
Make the warning rate-limited to prevent too much log spam.

The warning is supposed to help to find misbehaving programs, so
print the triggering command name and pid.

Reported-by: Florian Weimer <fweimer@redhat.com>
Signed-off-by: Vladis Dronov <vdronov@redhat.com>
[PM: subject line tweak to make checkpatch.pl happy]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
Change-Id: I518bf279dcf40be64f6d8e26e54671c44e03c9f2
2020-08-08 16:42:47 +02:00
..
2019-08-05 14:22:44 +02:00
2019-08-06 10:44:14 +02:00
2019-08-06 10:44:14 +02:00
2019-08-06 10:44:14 +02:00
2019-08-06 10:44:14 +02:00