Skip to content
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

Linux lsof: Add namespace dentry name #1264

Merged

Conversation

gcmoreira
Copy link
Contributor

This PR adds namespace dentry name support.
Additionally, it improves the pointer address verification ref #1243.

Before:

$ python3 ./vol.py -r pretty \
	-f .../ubuntu180464bit_5.4.0-117.core \
	linux.lsof 
Volatility 3 Framework 2.10.0
  |  PID |         Process |  FD |                                                                Path |      Inode | Type |       Mode |                        Changed |                       Modified |                       Accessed |    Size
...
* |  770 |           lxcfs |   4 |                                                           /dev/fuse |         87 |  CHR | crw-rw-rw- | 2024-09-10 23:22:35.468000 UTC | 2024-09-10 23:22:35.468000 UTC | 2024-09-10 23:22:35.468000 UTC |       0
* |  770 |           lxcfs |   5 |                    <unsupported d_op symbol: ns_dname>:[4026532471] | 4026532471 |  REG | -r--r--r-- | 2024-09-10 23:22:37.936000 UTC | 2024-09-10 23:22:37.936000 UTC | 2024-09-10 23:22:37.936000 UTC |       0
* |  770 |           lxcfs |   6 |                                         /run/lxcfs/controllers/rdma |          1 |  DIR | dr-xr-xr-x | 2024-09-10 23:22:34.852000 UTC | 2024-09-10 23:22:34.852000 UTC | 2024-09-10 23:22:34.852000 UTC |       0

After:

$ python3 ./vol.py -r pretty \
	-f .../ubuntu180464bit_5.4.0-117.core \
	linux.lsof 
Volatility 3 Framework 2.10.0
  |  PID |         Process |  FD |                                                                Path |      Inode | Type |       Mode |                        Changed |                       Modified |                       Accessed |    Size
...
* |  770 |           lxcfs |   4 |                                                           /dev/fuse |         87 |  CHR | crw-rw-rw- | 2024-09-10 23:22:35.468000 UTC | 2024-09-10 23:22:35.468000 UTC | 2024-09-10 23:22:35.468000 UTC |       0
* |  770 |           lxcfs |   5 |                                                    mnt:[4026532471] | 4026532471 |  REG | -r--r--r-- | 2024-09-10 23:22:37.936000 UTC | 2024-09-10 23:22:37.936000 UTC | 2024-09-10 23:22:37.936000 UTC |       0
* |  770 |           lxcfs |   6 |                                         /run/lxcfs/controllers/rdma |          1 |  DIR | dr-xr-xr-x | 2024-09-10 23:22:34.852000 UTC | 2024-09-10 23:22:34.852000 UTC | 2024-09-10 23:22:34.852000 UTC |       0

Copy link
Member

@ikelos ikelos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, this seems good. Do you want me to hold off merging this until #1263 gets merged (which now needs fixing up due to the change made in #1271), or merge this now and then remember the FIXME once #1263 goes in?

@gcmoreira
Copy link
Contributor Author

Thanks @ikelos you can merge it. I will update #1263 soon

@ikelos ikelos merged commit 055f2e7 into volatilityfoundation:develop Sep 25, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants