forked from iovisor/bcc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools: filelife: Check btf struct field for CO-RE and add vfs_open()
Since kernel commit 6521f8917082("namei: prepare for idmapped mounts"), the vfs_unlink/create function add argument 'struct user_namespace'. And add vfs_open() probe if 'f_mode = FMODE_CREATED'. In the same commit, 'struct renamedata' add 'old_mnt_userns' field, use 'old_mnt_userns' to determine which function to use. Signed-off-by: Rong Tao <[email protected]>
- Loading branch information
1 parent
ebb47d5
commit 921b736
Showing
1 changed file
with
56 additions
and
6 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