|
Message-ID: <CAHsHv-a_YyzXHXXeeG7v40nVg9a_G7C0toydAmcB0p-fpCU0kw@mail.gmail.com>
Date: Mon, 3 Feb 2020 20:29:45 +0100
From: "bryn1u85 ." <m.bryn1u@...il.com>
To: lkrg-users@...ts.openwall.com
Subject: LKRG doesn't work with Kernel-5.5.1. "error: 'struct text_poke_loc'
has no member named 'detour'
Hey Adam,
I was trying to compile based on kernel-5.5.1 source on Centos 8 with GCC
8.
[root@...alhost lkrg-main]# make -j8
make -C /lib/modules/5.5.1/build M=/root/lkrg-main modules
make[1]: Entering directory '/usr/src/kernels/5.5.1'
CC [M]
/root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execveat/p_sys_execveat.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execve/p_sys_execve.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper/p_call_usermodehelper.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper_exec/p_call_usermodehelper_exec.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_exit/p_do_exit.o
CC [M]
/root/lkrg-main/src/modules/exploit_detection/syscalls/p_wake_up_new_task/p_wake_up_new_task.o
/root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.c:
In function 'p_arch_jump_label_transform_apply_entry':
/root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.c:69:31:
error: 'struct text_poke_loc' has no member named 'detour'
p_tmp->addr && p_tmp->detour) {
^~
make[2]: *** [scripts/Makefile.build:265:
/root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform_apply/p_arch_jump_label_transform_apply.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:1693: /root/lkrg-main] Error 2
make[1]: Leaving directory '/usr/src/kernels/5.5.1'
make: *** [Makefile:93: all] Error 2
[root@...alhost lkrg-main]#
Where could be the problem ?
Thanks a lot for your help.
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.