-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[runtime-security] fix container_path and inode (#6461)
* Fix open dentry inode * Fix mkdir inode * Fix rm/unlink inode * Fix rename inode and marshal old.inode * Fix setattr inode * Fix rmdir inode * Fix link inode and marshal * Fix setxattr inode * Add open inode tests * Pop/Peek syscall based on syscall type * FIX Mount * Rename second pass inode/dentry with real_ prefix * Fix mountinfo parsing based on host_proc * Make Mkdir tests passing in docker env * Make chown and link tests passing in docker env * Make Rmdir tests working in docker env * Make rename test working in docker env * Make unlink test passing in docker env * Make utimes test passing in docker env * Make setxattr test working in docker env and container path working with inner mount * Make open test working in docker env * Fix mount unit test and improve delete handling * Do not append container path with an invalid dentry placeholder * Avoid dentry entry with inode set to 0 * Do not fail if overlayfs is not present * Allow to filter the event in test and fix mount/utimes
- Loading branch information
Showing
42 changed files
with
8,132 additions
and
7,160 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
Oops, something went wrong.