-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The loop over the varargs was not capturing the loop variable correctly, so all the probes would check the same binary. Remove the loop and let callers call the function multiple times for each executable. This is less error prone. That bug was first introduced in 0f474b8, but didn't become effective before 0f474b8. Fixes: 0f474b8 ("Some new sysinfo probes") Fixes: 19c800d ("Add sysprobe and some docs for required mount/umount") Signed-off-by: Tom Wieczorek <[email protected]> (cherry picked from commit c2d5e87)
- Loading branch information
1 parent
5b393b3
commit e4057ba
Showing
3 changed files
with
16 additions
and
14 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