Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 1 Jan 2019 14:46:39 +0100
From: bryn1u85 <m.bryn1u@...il.com>
To: lkrg-users@...ts.openwall.com
Subject: Re: LKRG vs linux-4.20.

Hey Adam,

I checked lkrg for kernel-4.20 with enabled most of KSPP options in kernel.
Everything works like a charm.
Thanks again !

pon., 31 gru 2018 o 23:14 bryn1u85 <m.bryn1u@...il.com> napisał(a):

> Thank you for your work. Im gonna check it now and Happy New Year !
>
> pon., 31 gru 2018 o 22:56 Adam Zabrocki <pi3@....com.pl> napisał(a):
>
>> Hi,
>>
>> I've just pushed a few changes to the official LKRG repo. Some of them
>> are
>> pretty big and we will be officialy introduced. Other one address minor
>> problems which we've discussed on that list. I've also verified that LKRG
>> runs
>> on kernel 4.20 without any problems. I've used following kernel in my
>> tests:
>>
>> https://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20/
>>
>> Official LKRG repo can be found here:
>> https://bitbucket.org/Adam_pi3/lkrg-main/
>>
>> Best regards and Happy New Year ;-)
>> Adam
>>
>> On Sun, Dec 30, 2018 at 07:55:08PM +0100, bryn1u85 wrote:
>> > Hey guys,
>> >
>> > New kernel v4.20 has been released and contains new security feature
>> > like CONFIG_GCC_PLUGIN_STACKLEAK.
>> > (might be cause ?)
>> > I want to compile lkrg with this kernel on Centos 7 using gcc version
>> 7.3.1
>> > but im getting issue like below.
>> >
>> > >
>> > >
>> > > [root@...ton lkrg-main]# uname -a
>> > > Linux proton.edu.pl 4.20.0 #1 SMP Thu Dec 27 18:53:45 EST 2018 x86_64
>> > > x86_64 x86_64 GNU/Linux
>> > > [root@...ton lkrg-main]# make -j8
>> > > make -C /lib/modules/4.20.0/build M=/root/lkrg-main modules
>> > > make[1]: Wejście do katalogu `/usr/src/kernels/4.20.0'
>> > >   CC [M]  /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.o
>> > >   CC [M]  /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o
>> > >   CC [M]  /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o
>> > >   CC [M]
>> /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o
>> > >   CC [M]  /root/lkrg-main/src/modules/kmod/p_kmod.o
>> > >   CC [M]  /root/lkrg-main/src/modules/database/CPU.o
>> > >   CC [M]  /root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.o
>> > >   CC [M]
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o
>> > > In file included from
>> > > /root/lkrg-main/src/modules/database/../../p_lkrg_main.h:90:0,
>> > >                  from /root/lkrg-main/src/modules/database/CPU.c:44:
>> > >
>> /root/lkrg-main/src/modules/database/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > > In file included from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.c:30:
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > > In file included from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../p_lkrg_main.h:90:0,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.c:24:
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
>> > >
>> /root/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/integrity_timer/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.c:18:
>> > >
>> /root/lkrg-main/src/modules/integrity_timer/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/kmod/../../p_lkrg_main.h:90:0,
>> > >                  from /root/lkrg-main/src/modules/kmod/p_kmod.c:22:
>> > >
>> /root/lkrg-main/src/modules/kmod/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/hashing/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.c:22:
>> > >
>> /root/lkrg-main/src/modules/hashing/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ fromincompatible pointer
>> type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/database/../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/kmod/../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/integrity_timer/../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/hashing/../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.c:30:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/database/../../p_lkrg_main.h:40,
>> > >                  from /root/lkrg-main/src/modules/database/CPU.c:44:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../p_lkrg_main.h:40,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.c:24:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/kmod/../../p_lkrg_main.h:40,
>> > >                  from /root/lkrg-main/src/modules/kmod/p_kmod.c:22:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/integrity_timer/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.c:18:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/hashing/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.c:22:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.c:30:
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
>> > >
>> /root/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/database/../../p_lkrg_main.h:90:0,
>> > >                  from /root/lkrg-main/src/modules/database/CPU.c:44:
>> > >
>> /root/lkrg-main/src/modules/database/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../p_lkrg_main.h:90:0,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.c:24:
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/kmod/../../p_lkrg_main.h:90:0,
>> > >                  from /root/lkrg-main/src/modules/kmod/p_kmod.c:22:
>> > >
>> /root/lkrg-main/src/modules/kmod/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > >
>> /root/lkrg-main/src/modules/ksyms/../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ fromincompatible pointer
>> type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/database/../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/ksyms/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.c:19:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/database/../../p_lkrg_main.h:40,
>> > >                  from /root/lkrg-main/src/modules/database/CPU.c:44:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/../../../../../p_lkrg_main.h:40,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.c:24:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > >
>> /root/lkrg-main/src/modules/database/arch/x86/../../../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.c:30:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > >
>> /root/lkrg-main/src/modules/kmod/../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from
>> > > /root/lkrg-main/src/modules/integrity_timer/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.c:18:
>> > >
>> /root/lkrg-main/src/modules/integrity_timer/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > > In file included from
>> > > /root/lkrg-main/src/modules/hashing/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.c:22:
>> > >
>> /root/lkrg-main/src/modules/hashing/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/kmod/../../p_lkrg_main.h:40,
>> > >                  from /root/lkrg-main/src/modules/kmod/p_kmod.c:22:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > >
>> /root/lkrg-main/src/modules/integrity_timer/../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > >
>> /root/lkrg-main/src/modules/hashing/../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/integrity_timer/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.c:18:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/hashing/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.c:22:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from
>> > > /root/lkrg-main/src/modules/comm_channel/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.c:18:
>> > >
>> /root/lkrg-main/src/modules/comm_channel/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_task’:
>> > >
>> /root/lkrg-main/src/modules/comm_channel/../../modules/exploit_detection/p_exploit_detection.h:301:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/comm_channel/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.c:18:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > In file included from
>> > > /root/lkrg-main/src/modules/comm_channel/../../p_lkrg_main.h:90:0,
>> > >                  from
>> > > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.c:18:
>> > >
>> /root/lkrg-main/src/modules/comm_channel/../../modules/exploit_detection/p_exploit_detection.h:
>> > > In function ‘p_ed_kill_task_by_pid’:
>> > >
>> /root/lkrg-main/src/modules/comm_channel/../../modules/exploit_detection/p_exploit_detection.h:320:32:
>> > > error: passing argument 2 of ‘send_sig_info’ from incompatible
>> pointer type
>> > > [-Werror=incompatible-pointer-types]
>> > >     return send_sig_info(p_sig, &p_info, p_task);
>> > >                                 ^
>> > > In file included from ./include/net/scm.h:11:0,
>> > >                  from ./include/linux/netlink.h:9,
>> > >                  from ./include/uapi/linux/neighbour.h:6,
>> > >                  from ./include/linux/netdevice.h:50,
>> > >                  from
>> > > /root/lkrg-main/src/modules/comm_channel/../../p_lkrg_main.h:40,
>> > >                  from
>> > > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.c:18:
>> > > ./include/linux/sched/signal.h:325:12: note: expected ‘struct
>> > > kernel_siginfo *’ but argument is of type ‘struct siginfo *’
>> > >  extern int send_sig_info(int, struct kernel_siginfo *, struct
>> task_struct
>> > > *);
>> > >             ^~~~~~~~~~~~~
>> > > cc1: some warnings being treated as errors
>> > > make[2]: ***
>> > >
>> [/root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o]
>> > > Błąd 1
>> > > make[2]: *** Oczekiwanie na niezakończone zadania....
>> > > cc1: some warnings being treated as errors
>> > > make[2]: *** [/root/lkrg-main/src/modules/ksyms/p_resolve_ksym.o]
>> Błąd 1
>> > > cc1: some warnings being treated as errors
>> > > cc1: some warnings being treated as errors
>> > > make[2]: ***
>> [/root/lkrg-main/src/modules/comm_channel/p_comm_channel.o]
>> > > Błąd 1
>> > > cc1: some warnings being treated as errors
>> > > make[2]: *** [/root/lkrg-main/src/modules/hashing/p_lkrg_fast_hash.o]
>> Błąd
>> > > 1
>> > > cc1: some warnings being treated as errors
>> > > make[2]: ***
>> [/root/lkrg-main/src/modules/database/arch/x86/IDT_MSR_CRx.o]
>> > > Błąd 1
>> > > make[2]: *** [/root/lkrg-main/src/modules/database/CPU.o] Błąd 1
>> > > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.c: In
>> > > function ‘p_check_integrity’:
>> > >
>> /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.c:157:15:
>> > > note: byref variable will be forcibly initialized
>> > >     p_cpu_info p_tmp_cpu_info;
>> > >                ^~~~~~~~~~~~~~
>> > > cc1: some warnings being treated as errors
>> > > make[2]: *** [/root/lkrg-main/src/modules/kmod/p_kmod.o] Błąd 1
>> > > cc1: some warnings being treated as errors
>> > > make[2]: ***
>> > > [/root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o]
>> Błąd 1
>> > > make[1]: *** [_module_/root/lkrg-main] Błąd 2
>> > > make[1]: Opuszczenie katalogu `/usr/src/kernels/4.20.0'
>> > > make: *** [all] Błąd 2
>> > > [root@...ton lkrg-main]#
>> > >
>> >
>> > Someone can help ?
>> > Thanks !
>>
>> --
>> pi3 (pi3ki31ny) - pi3 (at) itsec pl
>> http://pi3.com.pl
>>
>

Content of type "text/html" skipped

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.