-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x-pack/auditbeat/module/socket/guess: fix creds trigger for newer ker…
…nels (backport #37136) (#38027) In kernel commit 981ee95c (into v6.3) calls to access_override_creds were gated behind a test for the requirement for the call. This change results in non-execution of prepare_creds and so failure of the guess. An alternative has been identified that does not exhibit this behaviour, mq_open which calls dentry_open with creds in the third parameter. So replace the sys_access trigger with sys_mq_open and add the probe to dentry_open with P3 for the address. Approach developed by Christiano Haesbaert. (cherry picked from commit 284683d) --------- Co-authored-by: Dan Kortschak <90160302+efd6@users.noreply.github.com>
- Loading branch information
1 parent
c299121
commit a0acfd6
Showing
3 changed files
with
50 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters