From 333bb090cd9700f346ea10ddc4635cc87732e0b3 Mon Sep 17 00:00:00 2001 From: Gustavo Moreira Date: Fri, 29 Apr 2022 10:21:28 +1000 Subject: [PATCH] Minor. Constants regrouped --- volatility3/framework/constants/linux/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/volatility3/framework/constants/linux/__init__.py b/volatility3/framework/constants/linux/__init__.py index a35b6f02e..550690b90 100644 --- a/volatility3/framework/constants/linux/__init__.py +++ b/volatility3/framework/constants/linux/__init__.py @@ -12,6 +12,9 @@ KERNEL_NAME = "__kernel__" PAGE_SHIFT = 12 """The value hard coded from the Linux Kernel (hence not extracted from the layer itself)""" +# include/linux/sched.h +PF_KTHREAD = 0x00200000 # I'm a kernel thread + # Standard well-defined IP protocols. # ref: include/uapi/linux/in.h IP_PROTOCOLS = { @@ -227,6 +230,3 @@ BLUETOOTH_PROTOCOLS = ( "HIDP", "AVDTP", ) - -# include/linux/sched.h -PF_KTHREAD = 0x00200000 # I'm a kernel thread