Commit e60c2bb
committed
Merge: audit: backport kernel audit enhancements and fixes up to upstream v6.10
MR: https://gitlab.com/redhat/centos-stream/src/kernel/centos-stream-9/-/merge_requests/4653
JIRA: https://issues.redhat.com/browse/RHEL-35421
Brew: https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=62377223
Backport selected trivial fixes, cleanups, and enhancements from upstream up to
version 6.10. This will help make Audit functionality more stable, bring useful
enhancements/fixes downstream, and ease future backports.
Selected upstream commits:
[cleanup] 97f576e audit: Annotate struct audit_chunk with __counted_by
[bug fix] 03adc61 audit,io_uring: io_uring openat triggers audit reference count underflow
[cleanup] 3104d0e audit: remove unnecessary assignment in audit_dupe_lsm_field()
[cleanup] aa13b70 audit: use KMEM_CACHE() instead of kmem_cache_create()
In addition, the upstream commit ea47ab1 ("putname(): IS_ERR_OR_NULL() is wrong here") was
added to the list as a dependency.
Ricardo Robaina (5):
putname(): IS_ERR_OR_NULL() is wrong here
audit: Annotate struct audit_chunk with __counted_by
audit,io_uring: io_uring openat triggers audit reference count underflow
audit: remove unnecessary assignment in audit_dupe_lsm_field()
audit: use KMEM_CACHE() instead of kmem_cache_create()
fs/namei.c | 11 ++++++-----
include/linux/fs.h | 2 +-
kernel/audit.c | 4 +---
kernel/audit_tree.c | 2 +-
kernel/auditfilter.c | 2 +-
kernel/auditsc.c | 8 ++++----
6 files changed, 14 insertions(+), 15 deletions(-)
Signed-off-by: Ricardo Robaina <rrobaina@redhat.com>
Approved-by: Richard Guy Briggs <rgb@redhat.com>
Approved-by: Ondrej Mosnáček <omosnacek@gmail.com>
Approved-by: Wander Lairson Costa <wander@redhat.com>
Approved-by: CKI KWF Bot <cki-ci-bot+kwf-gitlab-com@redhat.com>
Merged-by: Lucas Zampieri <lzampier@redhat.com>File tree
6 files changed
+14
-15
lines changed- fs
- include/linux
- kernel
6 files changed
+14
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
248 | 248 | | |
249 | 249 | | |
250 | 250 | | |
251 | | - | |
| 251 | + | |
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | 258 | | |
259 | | - | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
| 263 | + | |
263 | 264 | | |
264 | | - | |
| 265 | + | |
265 | 266 | | |
266 | 267 | | |
267 | 268 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2776 | 2776 | | |
2777 | 2777 | | |
2778 | 2778 | | |
2779 | | - | |
| 2779 | + | |
2780 | 2780 | | |
2781 | 2781 | | |
2782 | 2782 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1676 | 1676 | | |
1677 | 1677 | | |
1678 | 1678 | | |
1679 | | - | |
1680 | | - | |
1681 | | - | |
| 1679 | + | |
1682 | 1680 | | |
1683 | 1681 | | |
1684 | 1682 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
788 | 788 | | |
789 | 789 | | |
790 | 790 | | |
791 | | - | |
| 791 | + | |
792 | 792 | | |
793 | 793 | | |
794 | 794 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2216 | 2216 | | |
2217 | 2217 | | |
2218 | 2218 | | |
2219 | | - | |
| 2219 | + | |
2220 | 2220 | | |
2221 | 2221 | | |
2222 | 2222 | | |
| |||
2245 | 2245 | | |
2246 | 2246 | | |
2247 | 2247 | | |
2248 | | - | |
| 2248 | + | |
2249 | 2249 | | |
2250 | 2250 | | |
2251 | 2251 | | |
| |||
2377 | 2377 | | |
2378 | 2378 | | |
2379 | 2379 | | |
2380 | | - | |
| 2380 | + | |
2381 | 2381 | | |
2382 | 2382 | | |
2383 | 2383 | | |
| |||
2504 | 2504 | | |
2505 | 2505 | | |
2506 | 2506 | | |
2507 | | - | |
| 2507 | + | |
2508 | 2508 | | |
2509 | 2509 | | |
2510 | 2510 | | |
| |||
0 commit comments