diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-04 20:05:43 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-10-04 20:05:43 +0200 |
commit | c645c11a2dba116bad3ee43e08e330db8f03ede6 (patch) | |
tree | 8705cdb957a0a97b7d231b6e16157252ea6434b0 /samples | |
parent | Merge tag 'x86_cleanups_for_v6.1_rc1' of git://git.kernel.org/pub/scm/linux/k... (diff) | |
parent | audit: remove selinux_audit_rule_update() declaration (diff) | |
download | linux-c645c11a2dba116bad3ee43e08e330db8f03ede6.tar.xz linux-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