-
Notifications
You must be signed in to change notification settings - Fork 169
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
[BUG]: file related dev
field extraction is dependent on the Filesystem type
#1805
Comments
/milestone TBD |
Refs #1805 Signed-off-by: Federico Di Pierro <[email protected]> Co-authored-by: Andrea Terzolo <[email protected]>
Refs #1805 Signed-off-by: Federico Di Pierro <[email protected]> Co-authored-by: Andrea Terzolo <[email protected]>
Refs #1805 Signed-off-by: Federico Di Pierro <[email protected]> Co-authored-by: Andrea Terzolo <[email protected]>
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
/remove-lifecycle stale |
During the development of ppc64 me and @Andreagit97 noticed that some
open
related tests were failing to assert thedev
field:Digging into it, we noticed that
vfs_getattr_nosec
calls a filesystem dependentgetattr
callback (https://elixir.bootlin.com/linux/v6.7.7/source/fs/stat.c#L135), that, forbtrfs
(the filesystem being used by our ppc64 test node), setsdev
field differently: https://elixir.bootlin.com/linux/v6.7.7/source/fs/btrfs/inode.c#L8692.See the call trace:
This means that our
dev
field is FS dependent and thus it cannot be relied upon.There is no way to fix this (at least on eBPF probes), since we miss the needed helpers.
The text was updated successfully, but these errors were encountered: