remove code for next PR

This commit is contained in:
SolitudePy
2025-07-11 15:39:34 +03:00
parent c64c6229d1
commit 606323f25a
2 changed files with 2 additions and 4 deletions
@@ -266,7 +266,7 @@ class LinuxUtilities(interfaces.configuration.VersionableInterface):
pre_name = name.dereference().cast(
"string", max_length=255, errors="replace"
)
return f"{LinuxUtilities.deleted} /{pre_name}"
return "/" + pre_name + " (deleted)"
else:
pre_name = ""
@@ -1253,9 +1253,7 @@ class vm_area_struct(objects.StructType):
def _do_get_name(self, context, task) -> str:
if self.vm_file != 0:
fname = linux.LinuxUtilities.path_for_file(
context, task, self.vm_file, files_only=False
)
fname = linux.LinuxUtilities.path_for_file(context, task, self.vm_file)
elif self.vm_start <= task.mm.start_brk and self.vm_end >= task.mm.brk:
fname = "[heap]"
elif self.vm_start <= task.mm.start_stack <= self.vm_end: