mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 01:37:39 +02:00
Add mnt_parent check to kernel version validation
This commit is contained in:
@@ -1574,7 +1574,7 @@ class vfsmount(objects.StructType):
|
||||
'True' if the kernel lacks the 'mount' struct, typically indicating kernel < 3.3.
|
||||
"""
|
||||
|
||||
return not self._context.symbol_space.has_type("mount")
|
||||
return (not self._context.symbol_space.has_type("mount")) and self.has_member("mnt_parent")
|
||||
|
||||
def is_equal(self, vfsmount_ptr) -> bool:
|
||||
"""Helper to make sure it is comparing two pointers to 'vfsmount'.
|
||||
|
||||
Reference in New Issue
Block a user