mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-12 12:47:39 +02:00
Merge pull request #1289 from dgmcdona/dgmcdona/linux-dentry-simple-dname
Linux: Properly get paths in simple_dname paths
This commit is contained in:
@@ -206,7 +206,14 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
|
||||
pre_name = "pipe"
|
||||
|
||||
elif sym == "simple_dname":
|
||||
pre_name = cls._get_path_file(task, filp)
|
||||
name = dentry.d_name.name
|
||||
if name:
|
||||
pre_name = name.dereference().cast(
|
||||
"string", max_length=255, errors="replace"
|
||||
)
|
||||
return "/" + pre_name + " (deleted)"
|
||||
else:
|
||||
pre_name = ""
|
||||
|
||||
elif sym == "ns_dname":
|
||||
# From Kernels 3.19
|
||||
|
||||
Reference in New Issue
Block a user