Группа :: Разработка/Ядро
Пакет: kernel-source-lkrg
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: kernel-source-lkrg-0.9.6-alt2.patch
Скачать
Скачать
src/modules/exploit_detection/p_exploit_detection.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/modules/exploit_detection/p_exploit_detection.c b/src/modules/exploit_detection/p_exploit_detection.c
index bd73b58..dff51a9 100644
--- a/src/modules/exploit_detection/p_exploit_detection.c
+++ b/src/modules/exploit_detection/p_exploit_detection.c
@@ -1647,7 +1647,8 @@ int p_ed_enforce_pcfi(struct task_struct *p_task, struct p_ed_process *p_orig, s
struct stack_frame p_frame;
#endif
#elif defined(CONFIG_ARM64)
-# if LINUX_VERSION_CODE >= KERNEL_VERSION(5,19,0)
+# if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,19,0)) \
+ || (RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(9,2))
struct unwind_state p_frame;
# else
struct stackframe p_frame;