• Linus Torvalds's avatar
    Merge tag 'audit-pr-20220110' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit · 5d7e5223
    Linus Torvalds authored
    Pull audit updates from Paul Moore:
     "Four audit patches for v5.17:
    
       - Harden 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"
    
    * tag 'audit-pr-20220110' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
      audit: replace zero-length array with flexible-array member
      audit: use struct_size() helper in audit_[send|make]_reply()
      audit: ensure userspace is penalized the same as the kernel when under pressure
      audit: use struct_size() helper in kmalloc()
    5d7e5223
auditfilter.c 34.4 KB