diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-04 11:05:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-04 11:05:43 -0700 |
commit | c645c11a2dba116bad3ee43e08e330db8f03ede6 (patch) | |
tree | 8705cdb957a0a97b7d231b6e16157252ea6434b0 /samples | |
parent | 3eba620e7bd772a0c7dc91966cb107872b54a910 (diff) | |
parent | 934f70d9d498a7fffd611edf48356698f1d72e91 (diff) | |
download | linux-stable-c645c11a2dba116bad3ee43e08e330db8f03ede6.tar.gz linux-stable-c645c11a2dba116bad3ee43e08e330db8f03ede6.tar.bz2 linux-stable-c645c11a2dba116bad3ee43e08e330db8f03ede6.zip |
Merge tag 'audit-pr-20221003' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit
Pull audit updates from Paul Moore:
"Six audit patches for v6.1, most are pretty trivial, but a quick list
of the highlights are below:
- Only free the audit proctitle information on task exit. This allows
us to cache the information and improve performance slightly.
- Use the time_after() macro to do time comparisons instead of doing
it directly and potentially causing ourselves problems when the
timer wraps.
- Convert an audit_context state comparison from a relative enum
comparison, e.g. (x < y), to a not-equal comparison to ensure that
we are not caught out at some unknown point in the future by an
enum shuffle.
- A handful of small cleanups such as tidying up comments and
removing unused declarations"
* tag 'audit-pr-20221003' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/audit:
audit: remove selinux_audit_rule_update() declaration
audit: use time_after to compare time
audit: free audit_proctitle only on task exit
audit: explicitly check audit_context->context enum value
audit: audit_context pid unused, context enum comment fix
audit: fix repeated words in comments
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions