Linus,
Four audit patches for v5.17:
- Hardened the code through additional use of the struct_size() macro
and zero-length arrays to flexible-array conversions.
- Ensure that processes which generate userspace audit records are not
exempt from the kernel's audit throttling when the audit queues are
being overrun.
Please merge.
-Paul
--
The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:
Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit.git
tags/audit-pr-20220110
for you to fetch changes up to ed98ea2128b6fd83bce13716edf8f5fe6c47f574:
audit: replace zero-length array with flexible-array member
(2021-12-20 14:53:27 -0500)
----------------------------------------------------------------
audit/stable-5.17 PR 20220110
----------------------------------------------------------------
Paul Moore (1):
audit: ensure userspace is penalized the same as the kernel when under
pressure
Xiu Jianfeng (3):
audit: use struct_size() helper in kmalloc()
audit: use struct_size() helper in audit_[send|make]_reply()
audit: replace zero-length array with flexible-array member
include/uapi/linux/audit.h | 2 +-
kernel/audit.c | 22 +++++++++++++++++++---
kernel/audit_tree.c | 2 +-
kernel/auditfilter.c | 4 ++--
4 files changed, 23 insertions(+), 7 deletions(-)
--
paul moore
www.paul-moore.com