-
Notifications
You must be signed in to change notification settings - Fork 4
ROX-33217: Instrument inode tracking on directory being created path mkdir #465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
JoukoVirtanen
wants to merge
32
commits into
main
Choose a base branch
from
jv-ROX-33217-instrument-inode-tracking-on-directory-being-created-path_mkdir
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
fd0fd1c
X-Smart-Branch-Parent: main
JoukoVirtanen 5b2167e
Added integration tests
JoukoVirtanen 12f602e
Instrument inode tracking on directory being created
JoukoVirtanen 8406a5a
Only tracking directories if the parent is monitored
JoukoVirtanen 03bd26e
Removed some comments
JoukoVirtanen b1fc6f5
Combined two uses of BPF_CORE_READ
JoukoVirtanen dbea1a7
Added DIR_ACTIVITY_CREATION
JoukoVirtanen d1b4136
Added permalink to linux/stat.h
JoukoVirtanen a120084
Removing map entry in case of early return in lsm/d_instantiate
JoukoVirtanen fb7ce80
Using os.makedirs instead of os.mkdir three times
JoukoVirtanen 60f96eb
Accumulate m.path_mkdir and m.d_instantiate
JoukoVirtanen 651edd4
Checking pid_tgid earlier so if inode is null we still cleanup
JoukoVirtanen a57baf7
Not using BPF_F_NO_PREALLOC
JoukoVirtanen 1fa3c77
Switched from BPF_MAP_TYPE_HASH to BPF_MAP_TYPE_LRU_HASH
JoukoVirtanen 0d1929d
Apply suggestion from @Molter73
JoukoVirtanen e9634e5
Parameterized test
JoukoVirtanen 11eba2e
Fixed verifier issue. Not sending directory creation events
JoukoVirtanen 008b580
make format
JoukoVirtanen e86fa4e
Improved test Event constructor
JoukoVirtanen fd6bcbb
Remove is_dir_creation
JoukoVirtanen 5f83efa
Removed unneeded S_ISDIR
JoukoVirtanen b97f03e
make format
JoukoVirtanen 0874869
Update tests/test_path_mkdir.py
JoukoVirtanen ba14b12
Fixes after rebase
JoukoVirtanen e4cd882
Moved the check for null inode up
JoukoVirtanen 34f8ff4
Not adding a new event type field to Event struct
JoukoVirtanen db4645b
make format
JoukoVirtanen c4ef0ac
Empty commit
JoukoVirtanen 616720d
Apply suggestions from code review
JoukoVirtanen c7ec074
Fixed syntax error
JoukoVirtanen 7ee6881
make format
JoukoVirtanen 4b77658
Fixed clippy errors
JoukoVirtanen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Molter73 marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.