mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-06 01:37:39 +02:00
linux: Improve compatibility with ancient kernels
This commit is contained in:
@@ -316,16 +316,26 @@ class task_struct(generic.GenericIntelProcess):
|
||||
if self.pid < 0:
|
||||
return False
|
||||
|
||||
if not (self.signal and self.signal.is_readable()):
|
||||
if self.has_member("signal") and not (
|
||||
self.signal and self.signal.is_readable()
|
||||
):
|
||||
return False
|
||||
|
||||
if not (self.nsproxy and self.nsproxy.is_readable()):
|
||||
if self.has_member("nsproxy") and not (
|
||||
self.nsproxy and self.nsproxy.is_readable()
|
||||
):
|
||||
return False
|
||||
|
||||
if not (self.real_parent and self.real_parent.is_readable()):
|
||||
if self.has_member("real_parent") and not (
|
||||
self.real_parent and self.real_parent.is_readable()
|
||||
):
|
||||
return False
|
||||
|
||||
if self.active_mm and not self.active_mm.is_readable():
|
||||
if (
|
||||
self.has_member("active_mm")
|
||||
and self.active_mm
|
||||
and not self.active_mm.is_readable()
|
||||
):
|
||||
return False
|
||||
|
||||
if self.mm:
|
||||
|
||||
Reference in New Issue
Block a user