Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200502164233.GB14343@pi3.com.pl>
Date: Sat, 2 May 2020 18:42:33 +0200
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: fake alert (?)

On Sat, May 02, 2020 at 02:45:34PM +0200, Solar Designer wrote:
> On Sat, May 02, 2020 at 01:54:22PM +0200, Solar Designer wrote:
> > We never tried to support RHEL/CentOS 6.x kernels, targeting 7.x as a
> > minimum.  It's unexpected, but good news if/that LKRG works on CentOS
> > 6.x at all.  If we just happen to readily have that support, maybe we
> > should start supporting those older kernels as there are still plenty of
> > RHEL/CentOS/SCL 6.x systems in use.
> 
> I've just tried building latest git LKRG on "Scientific Linux release
> 6.10 (Carbon)" with:
> 
> kernel-headers-2.6.32-754.6.3.el6.x86_64
> kernel-devel-2.6.32-754.6.3.el6.x86_64
> kernel-firmware-2.6.32-754.6.3.el6.noarch
> kernel-2.6.32-754.6.3.el6.x86_64
> 

Right. We didn't focus on integrating LKRG for kernels 2.6.xx. However, it is 
possible (requires some changes) but I don't see much value for doing it.

Thanks,
Adam

> This failed with:
> 
> $ make
> make -C /lib/modules/2.6.32-754.6.3.el6.x86_64/build M=/home/solar/lkrg/lkrg-main modules
> make[1]: Entering directory `/usr/src/kernels/2.6.32-754.6.3.el6.x86_64'
>   CC [M]  /home/solar/lkrg/lkrg-main/src/modules/ksyms/p_resolve_ksym.o
> In file included from /home/solar/lkrg/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:35:26: error: linux/cpu_pm.h: No such file or directory
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:68:24: error: asm/unwind.h: No such file or directory
> In file included from /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:213,
>                  from /home/solar/lkrg/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:68: error: expected ')' before '*' token
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:72: warning: type defaults to 'int' in declaration of 'kuid_t'
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:72: error: expected ';', ',' or ')' before '*' token
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:76: error: expected ')' before '*' token
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:80: warning: type defaults to 'int' in declaration of 'kgid_t'
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:80: error: expected ';', ',' or ')' before '*' token
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:161: warning: 'struct jump_entry' declared inside parameter list
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:161: warning: its scope is only this definition or declaration, which is probably not what you want
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h: In function 'p_jump_entry_code':
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:162: error: dereferencing pointer to incomplete type
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h: At top level:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:165: warning: 'struct jump_entry' declared inside parameter list
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h: In function 'p_jump_entry_target':
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:166: error: dereferencing pointer to incomplete type
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h: At top level:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:169: warning: 'struct jump_entry' declared inside parameter list
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h: In function 'p_jump_entry_key':
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/wrap/p_struct_wrap.h:170: error: dereferencing pointer to incomplete type
> In file included from /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:219,
>                  from /home/solar/lkrg/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h: At top level:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:161: error: expected specifier-qualifier-list before 'kuid_t'
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:182: error: field 'sec' has incomplete type
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:211: error: field 'p_ns' has incomplete type
> In file included from /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:243,
>                  from /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:219,
>                  from /home/solar/lkrg/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.h: In function 'p_rb_init_ed_pid_node':
> /home/solar/lkrg/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.h:84: error: 'struct rb_node' has no member named '__rb_parent_color'
> make[2]: *** [/home/solar/lkrg/lkrg-main/src/modules/ksyms/p_resolve_ksym.o] Error 1
> make[1]: *** [_module_/home/solar/lkrg/lkrg-main] Error 2
> make[1]: Leaving directory `/usr/src/kernels/2.6.32-754.6.3.el6.x86_64'
> make: *** [all] Error 2
> 
> Alexander

-- 
pi3 (pi3ki31ny) - pi3 (at) itsec pl
http://pi3.com.pl

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.