|
Message-ID: <20200203223554.GB7524@pi3.com.pl> Date: Mon, 3 Feb 2020 23:35:54 +0100 From: Adam Zabrocki <pi3@....com.pl> To: lkrg-users@...ts.openwall.com Subject: Re: error: incompatible gcc/plugin versions - Centos 8 - gcc-8 and gcc-9 & KSPP Hey, On Mon, Feb 03, 2020 at 07:47:11PM +0100, bryn1u85 . wrote: > Hey, > > @Adam Zabrocki <pi3@....com.pl> > What do u mean problem with stackleak and structleak plugins. You mean > thats something is wrong with GCC compilator and kernel options ? I have no > idea from where should i start looking for the reason. > You have broken stackleak and structleak plugins in your build environment. It is unrelated to the LKRG story itself. I believe you've met the same problem in the past couple of time already. > @Alexander > I used to make clean. Effect is the same. > One of the reason why your plugins might be broken because you didn't rebuild that GCC plugins in your new build environment and that's why Alexander suggested to make sure you rebuilt them (plugins itself) as well. > Adam there is another problem. I can't even compile based on default > Centos-7 kernel with GCC-8. > I've pushed fix for it to the repo. Thanks, Adam > [root@...41682 lkrg-main]# rpm -qa | grep -i kernel > kernel-devel-3.10.0-1062.9.1.el7.x86_64 > kernel-3.10.0-1062.9.1.el7.x86_64 > kernel-headers-3.10.0-1062.9.1.el7.x86_64 > kernel-debug-devel-3.10.0-1062.9.1.el7.x86_64 > [root@...41682 lkrg-main]# > > [root@...41682 lkrg-main]# make clean > make -C /lib/modules/3.10.0-1062.9.1.el7.x86_64/build M=/root/lkrg-main > clean > make[1]: Wej??cie do katalogu '/usr/src/kernels/3.10.0-1062.9.1.el7.x86_64' > make[1]: Opuszczenie katalogu '/usr/src/kernels/3.10.0-1062.9.1.el7.x86_64' > rm -f Module.markers modules.order > rm -f /root/lkrg-main/src/modules/kmod/client/kmod/Module.markers > rm -f /root/lkrg-main/src/modules/kmod/client/kmod/modules.order > rm -f -rf output > [root@...41682 lkrg-main]# > > Error during compilation: > > root@...41682 lkrg-main]# make -j8 > make -C /lib/modules/3.10.0-1062.9.1.el7.x86_64/build M=/root/lkrg-main > modules > make[1]: Wej??cie do katalogu '/usr/src/kernels/3.10.0-1062.9.1.el7.x86_64' > 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/p_x86_metadata.o > CC [M] > /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o > /root/lkrg-main/src/modules/database/arch/x86/p_x86_metadata.o: warning: > objtool: p_read_msr.cold.0()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/arch/x86/p_x86_metadata.o: warning: > objtool: p_dump_x86_metadata.cold.1()+0x0: frame pointer state mismatch > CC [M] /root/lkrg-main/src/modules/database/arch/arm64/p_arm64_metadata.o > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_enforce_msr.cold.0()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_force_run.cold.1()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_timestamp.cold.2()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_hide.cold.3()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_enforce_umh.cold.4()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_enforce_pcfi.cold.5()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_log_level.cold.6()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_clean_message.cold.7()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_block_modules.cold.8()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_ci_panic.cold.9()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_random_events.cold.10()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_sysctl_smep_panic.cold.11()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_register_comm_channel.cold.12()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/comm_channel/p_comm_channel.o: warning: > objtool: p_deregister_comm_channel.cold.13()+0x0: frame pointer state > mismatch > CC [M] /root/lkrg-main/src/modules/database/arch/arm/p_arm_metadata.o > CC [M] /root/lkrg-main/src/modules/database/arch/p_arch_metadata.o > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o: warning: > objtool: p_offload_cache_zero.cold.3()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o: warning: > objtool: p_check_integrity.cold.4()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o: warning: > objtool: p_offload_cache_init.cold.5()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o: warning: > objtool: p_offload_cache_delete.cold.6()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o: warning: > objtool: p_integrity_timer.cold.7()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/integrity_timer/p_integrity_timer.o: warning: > objtool: p_offload_work.cold.8()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/CPU.o: warning: objtool: > p_get_cpus.cold.0()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/CPU.o: warning: objtool: > p_cmp_cpus.cold.1()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/CPU.o: warning: objtool: > p_cpu_online_action.cold.2()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/CPU.o: warning: objtool: > p_cpu_dead_action.cold.3()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/CPU.o: warning: objtool: > p_cpu_callback.cold.4()+0x0: frame pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform/p_arch_jump_label_transform.o > /root/lkrg-main/src/modules/ksyms/p_resolve_ksym.o: warning: objtool: > get_kallsyms_address.cold.0()+0x0: frame pointer state mismatch > 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/database/p_database.o > /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o: > warning: objtool: p_install_switch_idt_hook.cold.0()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/database/arch/x86/p_switch_idt/p_switch_idt.o: > warning: objtool: p_uninstall_switch_idt_hook.cold.1()+0x0: frame pointer > state mismatch > CC [M] /root/lkrg-main/src/modules/notifiers/p_notifiers.o > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_register_module_notifier.cold.4()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_kmod_init.cold.5()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_count_modules_from_module_list.cold.6()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_list_from_module_list.cold.7()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_count_modules_from_sysfs_kobj.cold.8()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_list_from_sysfs_kobj.cold.9()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_kmod_hash.cold.10()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/kmod/p_kmod.o: warning: objtool: > p_module_event_notifier.cold.11()+0x0: frame pointer state mismatch > CC [M] /root/lkrg-main/src/modules/self-defense/hiding/p_hiding.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_execve/p_sys_execve.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execveat/p_sys_execveat.o > /root/lkrg-main/src/modules/database/arch/p_arch_metadata.o: warning: > objtool: p_dump_CPU_metadata.cold.2()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/arch/p_arch_metadata.o: warning: > objtool: p_register_arch_metadata.cold.3()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/arch/p_arch_metadata.o: warning: > objtool: p_unregister_arch_metadata.cold.4()+0x0: frame pointer state > mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper/p_call_usermodehelper.o > /root/lkrg-main/src/modules/self-defense/hiding/p_hiding.o: warning: > objtool: p_hide_itself.cold.0()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/self-defense/hiding/p_hiding.o: warning: > objtool: p_unhide_itself.cold.1()+0x0: frame pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper_exec/p_call_usermodehelper_exec.o > /root/lkrg-main/src/modules/notifiers/p_notifiers.o: warning: objtool: > p_register_notifiers.cold.3()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/notifiers/p_notifiers.o: warning: objtool: > p_deregister_notifiers.cold.4()+0x0: frame pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_exit/p_do_exit.o > /root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform/p_arch_jump_label_transform.o: > warning: objtool: p_arch_jump_label_transform_entry.cold.5()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform/p_arch_jump_label_transform.o: > warning: objtool: p_arch_jump_label_transform_ret.cold.6()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform/p_arch_jump_label_transform.o: > warning: objtool: p_install_arch_jump_label_transform_hook.cold.7()+0x0: > frame pointer state mismatch > /root/lkrg-main/src/modules/database/JUMP_LABEL/p_arch_jump_label_transform/p_arch_jump_label_transform.o: > warning: objtool: p_uninstall_arch_jump_label_transform_hook.cold.8()+0x0: > frame pointer state mismatch > 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/p_database.o: warning: objtool: > hash_from_ex_table.cold.1()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/p_database.o: warning: objtool: > hash_from_kernel_stext.cold.2()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/p_database.o: warning: objtool: > hash_from_kernel_rodata.cold.3()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/p_database.o: warning: objtool: > hash_from_iommu_table.cold.4()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/p_database.o: warning: objtool: > hash_from_CPU_data.cold.5()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/database/p_database.o: warning: objtool: > p_create_database.cold.6()+0x0: frame pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setuid/p_sys_setuid.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper/p_call_usermodehelper.o: > warning: objtool: p_call_usermodehelper_ret.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper/p_call_usermodehelper.o: > warning: objtool: p_install_call_usermodehelper_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper/p_call_usermodehelper.o: > warning: objtool: p_uninstall_call_usermodehelper_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setreuid/p_sys_setreuid.o > /root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o: > warning: objtool: p_ed_pids_cache_init.cold.0()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o: > warning: objtool: p_rb_add_ed_pid.cold.1()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o: > warning: objtool: p_rb_del_ed_pid.cold.2()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o: > warning: objtool: p_init_rb_ed_pids.cold.3()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/p_rb_ed_trees/p_rb_ed_pids/p_rb_ed_pids_tree.o: > warning: objtool: p_delete_rb_ed_pids.cold.4()+0x0: frame pointer state > mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresuid/p_sys_setresuid.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execve/p_sys_execve.o: > warning: objtool: p_sys_execve_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execve/p_sys_execve.o: > warning: objtool: p_install_sys_execve_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_execve/p_sys_execve.o: > warning: objtool: p_uninstall_sys_execve_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsuid/p_sys_setfsuid.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setgid/p_sys_setgid.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_exit/p_do_exit.o: > warning: objtool: p_install_do_exit_hook.cold.0()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_exit/p_do_exit.o: > warning: objtool: p_uninstall_do_exit_hook.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_wake_up_new_task/p_wake_up_new_task.o: > warning: objtool: p_wake_up_new_task_entry.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_wake_up_new_task/p_wake_up_new_task.o: > warning: objtool: p_install_wake_up_new_task_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_wake_up_new_task/p_wake_up_new_task.o: > warning: objtool: p_uninstall_wake_up_new_task_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setregid/p_sys_setregid.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresgid/p_sys_setresgid.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper_exec/p_call_usermodehelper_exec.o: > warning: objtool: p_call_usermodehelper_exec_entry_extra.cold.2()+0x0: > frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper_exec/p_call_usermodehelper_exec.o: > warning: objtool: p_call_usermodehelper_exec_entry_noextra.cold.3()+0x0: > frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper_exec/p_call_usermodehelper_exec.o: > warning: objtool: p_install_call_usermodehelper_exec_hook.cold.4()+0x0: > frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_call_usermodehelper_exec/p_call_usermodehelper_exec.o: > warning: objtool: p_uninstall_call_usermodehelper_exec_hook.cold.5()+0x0: > frame pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsgid/p_sys_setfsgid.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setuid/p_sys_setuid.o: > warning: objtool: p_sys_setuid_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setuid/p_sys_setuid.o: > warning: objtool: p_install_sys_setuid_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setuid/p_sys_setuid.o: > warning: objtool: p_uninstall_sys_setuid_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_set_current_groups/p_set_current_groups.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setgid/p_sys_setgid.o: > warning: objtool: p_sys_setgid_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setgid/p_sys_setgid.o: > warning: objtool: p_install_sys_setgid_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setgid/p_sys_setgid.o: > warning: objtool: p_uninstall_sys_setgid_hook.cold.3()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresuid/p_sys_setresuid.o: > warning: objtool: p_sys_setresuid_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresuid/p_sys_setresuid.o: > warning: objtool: p_install_sys_setresuid_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresuid/p_sys_setresuid.o: > warning: objtool: p_uninstall_sys_setresuid_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_init_module/p_do_init_module.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_finit_module/p_sys_finit_module.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresgid/p_sys_setresgid.o: > warning: objtool: p_sys_setresgid_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresgid/p_sys_setresgid.o: > warning: objtool: p_install_sys_setresgid_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setresgid/p_sys_setresgid.o: > warning: objtool: p_uninstall_sys_setresgid_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_delete_module/p_sys_delete_module.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setregid/p_sys_setregid.o: > warning: objtool: p_sys_setregid_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setregid/p_sys_setregid.o: > warning: objtool: p_install_sys_setregid_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setregid/p_sys_setregid.o: > warning: objtool: p_uninstall_sys_setregid_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_generic_permission/p_generic_permission.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setreuid/p_sys_setreuid.o: > warning: objtool: p_sys_setreuid_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setreuid/p_sys_setreuid.o: > warning: objtool: p_install_sys_setreuid_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setreuid/p_sys_setreuid.o: > warning: objtool: p_uninstall_sys_setreuid_hook.cold.3()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsgid/p_sys_setfsgid.o: > warning: objtool: p_sys_setfsgid_ret.cold.0()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsgid/p_sys_setfsgid.o: > warning: objtool: p_install_sys_setfsgid_hook.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsgid/p_sys_setfsgid.o: > warning: objtool: p_uninstall_sys_setfsgid_hook.cold.2()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sel_write_enforce/p_sel_write_enforce.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_seccomp/p_seccomp.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsuid/p_sys_setfsuid.o: > warning: objtool: p_sys_setfsuid_ret.cold.0()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsuid/p_sys_setfsuid.o: > warning: objtool: p_install_sys_setfsuid_hook.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setfsuid/p_sys_setfsuid.o: > warning: objtool: p_uninstall_sys_setfsuid_hook.cold.2()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_unshare/p_sys_unshare.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_init_module/p_do_init_module.o: > warning: objtool: p_do_init_module_entry.cold.4()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_init_module/p_do_init_module.o: > warning: objtool: p_do_init_module_ret.cold.5()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_init_module/p_do_init_module.o: > warning: objtool: p_install_do_init_module_hook.cold.6()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_do_init_module/p_do_init_module.o: > warning: objtool: p_uninstall_do_init_module_hook.cold.7()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setns/p_sys_setns.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_set_current_groups/p_set_current_groups.o: > warning: objtool: p_set_current_groups_ret.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_set_current_groups/p_set_current_groups.o: > warning: objtool: p_install_set_current_groups_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_set_current_groups/p_set_current_groups.o: > warning: objtool: p_uninstall_set_current_groups_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_sys_capset/p_sys_capset.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_finit_module/p_sys_finit_module.o: > warning: objtool: p_sys_finit_module_entry.cold.4()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_finit_module/p_sys_finit_module.o: > warning: objtool: p_sys_finit_module_ret.cold.5()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_finit_module/p_sys_finit_module.o: > warning: objtool: p_install_sys_finit_module_hook.cold.6()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_finit_module/p_sys_finit_module.o: > warning: objtool: p_uninstall_sys_finit_module_hook.cold.7()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_cap_task_prctl/p_cap_task_prctl.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_delete_module/p_sys_delete_module.o: > warning: objtool: p_sys_delete_module_entry.cold.4()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_delete_module/p_sys_delete_module.o: > warning: objtool: p_sys_delete_module_ret.cold.5()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_delete_module/p_sys_delete_module.o: > warning: objtool: p_install_sys_delete_module_hook.cold.6()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_delete_module/p_sys_delete_module.o: > warning: objtool: p_uninstall_sys_delete_module_hook.cold.7()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_key_change_session_keyring/p_key_change_session_keyring.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_generic_permission/p_generic_permission.o: > warning: objtool: p_generic_permission_entry.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_generic_permission/p_generic_permission.o: > warning: objtool: p_install_generic_permission_hook.cold.3()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_generic_permission/p_generic_permission.o: > warning: objtool: p_uninstall_generic_permission_hook.cold.4()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_add_key/p_sys_add_key.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sel_write_enforce/p_sel_write_enforce.o: > warning: objtool: p_install_sel_write_enforce_hook.cold.1()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sel_write_enforce/p_sel_write_enforce.o: > warning: objtool: p_uninstall_sel_write_enforce_hook.cold.2()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_request_key/p_sys_request_key.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_unshare/p_sys_unshare.o: > warning: objtool: p_sys_unshare_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_unshare/p_sys_unshare.o: > warning: objtool: p_install_sys_unshare_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_unshare/p_sys_unshare.o: > warning: objtool: p_uninstall_sys_unshare_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_keyctl/p_sys_keyctl.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setns/p_sys_setns.o: > warning: objtool: p_sys_setns_ret.cold.1()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setns/p_sys_setns.o: > warning: objtool: p_install_sys_setns_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_setns/p_sys_setns.o: > warning: objtool: p_uninstall_sys_setns_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_ptrace/p_sys_ptrace.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_seccomp/p_seccomp.o: > warning: objtool: p_seccomp_ret.cold.1()+0x0: frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_seccomp/p_seccomp.o: > warning: objtool: p_install_seccomp_hook.cold.2()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_seccomp/p_seccomp.o: > warning: objtool: p_uninstall_seccomp_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execve/p_compat_sys_execve.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_cap_task_prctl/p_cap_task_prctl.o: > warning: objtool: p_cap_task_prctl_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_cap_task_prctl/p_cap_task_prctl.o: > warning: objtool: p_install_cap_task_prctl_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_cap_task_prctl/p_cap_task_prctl.o: > warning: objtool: p_uninstall_cap_task_prctl_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execveat/p_compat_sys_execveat.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_sys_capset/p_sys_capset.o: > warning: objtool: p_sys_capset_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_sys_capset/p_sys_capset.o: > warning: objtool: p_install_sys_capset_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/caps/p_sys_capset/p_sys_capset.o: > warning: objtool: p_uninstall_sys_capset_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_keyctl/p_compat_sys_keyctl.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_request_key/p_sys_request_key.o: > warning: objtool: p_sys_request_key_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_request_key/p_sys_request_key.o: > warning: objtool: p_install_sys_request_key_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_request_key/p_sys_request_key.o: > warning: objtool: p_uninstall_sys_request_key_hook.cold.3()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_key_change_session_keyring/p_key_change_session_keyring.o: > warning: objtool: p_key_change_session_keyring_ret.cold.0()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_key_change_session_keyring/p_key_change_session_keyring.o: > warning: objtool: p_install_key_change_session_keyring_hook.cold.1()+0x0: > frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_key_change_session_keyring/p_key_change_session_keyring.o: > warning: objtool: p_uninstall_key_change_session_keyring_hook.cold.2()+0x0: > frame pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_ptrace/p_compat_sys_ptrace.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_add_key/p_sys_add_key.o: > warning: objtool: p_sys_add_key_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_add_key/p_sys_add_key.o: > warning: objtool: p_install_sys_add_key_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_add_key/p_sys_add_key.o: > warning: objtool: p_uninstall_sys_add_key_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_delete_module/p_compat_sys_delete_module.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_capset/p_compat_sys_capset.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_keyctl/p_sys_keyctl.o: > warning: objtool: p_sys_keyctl_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_keyctl/p_sys_keyctl.o: > warning: objtool: p_install_sys_keyctl_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/keyring/p_sys_keyctl/p_sys_keyctl.o: > warning: objtool: p_uninstall_sys_keyctl_hook.cold.3()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_add_key/p_compat_sys_add_key.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_ptrace/p_sys_ptrace.o: > warning: objtool: p_install_sys_ptrace_hook.cold.0()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/p_sys_ptrace/p_sys_ptrace.o: > warning: objtool: p_uninstall_sys_ptrace_hook.cold.1()+0x0: frame pointer > state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_request_key/p_compat_sys_request_key.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_execve/p_x32_sys_execve.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execve/p_compat_sys_execve.o: > warning: objtool: p_compat_sys_execve_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execve/p_compat_sys_execve.o: > warning: objtool: p_install_compat_sys_execve_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_execve/p_compat_sys_execve.o: > warning: objtool: p_uninstall_compat_sys_execve_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_execveat/p_x32_sys_execveat.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_keyctl/p_x32_sys_keyctl.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/__x32/p_x32_sys_ptrace/p_x32_sys_ptrace.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_override_creds/p_override_creds.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_keyctl/p_compat_sys_keyctl.o: > warning: objtool: p_compat_sys_keyctl_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_keyctl/p_compat_sys_keyctl.o: > warning: objtool: p_install_compat_sys_keyctl_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_keyctl/p_compat_sys_keyctl.o: > warning: objtool: p_uninstall_compat_sys_keyctl_hook.cold.3()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_revert_creds/p_revert_creds.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/overlayfs/p_ovl_create_or_link/p_ovl_create_or_link.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_mark_inode_dirty/p_mark_inode_dirty.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_schedule/p_schedule.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_ptrace/p_compat_sys_ptrace.o: > warning: objtool: p_install_compat_sys_ptrace_hook.cold.0()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/compat/p_compat_sys_ptrace/p_compat_sys_ptrace.o: > warning: objtool: p_uninstall_compat_sys_ptrace_hook.cold.1()+0x0: frame > pointer state mismatch > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p___queue_work/p___queue_work.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_lookup_fast/p_lookup_fast.o > CC [M] > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.o > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_override_creds/p_override_creds.o: > warning: objtool: p_override_creds_ret.cold.2()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_override_creds/p_override_creds.o: > warning: objtool: p_install_override_creds_hook.cold.3()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_override_creds/p_override_creds.o: > warning: objtool: p_uninstall_override_creds_hook.cold.4()+0x0: frame > pointer state mismatch > CC [M] /root/lkrg-main/src/p_lkrg_main.o > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c: In > function ???p_update_ed_process???: > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:221:28: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > p_source->p_ed_task.p_ns.pid_ns_for_children = > p_task->nsproxy->pid_ns_for_children; > ^ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:221:68: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > p_source->p_ed_task.p_ns.pid_ns_for_children = > p_task->nsproxy->pid_ns_for_children; > ^~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c: In > function ???p_cmp_tasks???: > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:741:30: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > if (p_orig->p_ed_task.p_ns.pid_ns_for_children != > p_current->nsproxy->pid_ns_for_children) { > ^ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:741:72: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > if (p_orig->p_ed_task.p_ns.pid_ns_for_children != > p_current->nsproxy->pid_ns_for_children) { > ^~ > In file included from > /root/lkrg-main/src/modules/exploit_detection/../../p_lkrg_main.h:188, > from > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:18: > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:748:69: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_orig->p_ed_task.p_ns.pid_ns_for_children, > ^ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:134:21: > note: in definition of macro ???p_print_crit??? > printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:749:65: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_current->nsproxy->pid_ns_for_children); > ^~ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:134:21: > note: in definition of macro ???p_print_crit??? > printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:748:69: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_orig->p_ed_task.p_ns.pid_ns_for_children, > ^ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:142:38: > note: in definition of macro ???p_print_alive??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:749:65: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_current->nsproxy->pid_ns_for_children); > ^~ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:142:38: > note: in definition of macro ???p_print_alive??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:748:69: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_orig->p_ed_task.p_ns.pid_ns_for_children, > ^ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:153:38: > note: in definition of macro ???p_print_err??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:749:65: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_current->nsproxy->pid_ns_for_children); > ^~ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:153:38: > note: in definition of macro ???p_print_err??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:748:69: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_orig->p_ed_task.p_ns.pid_ns_for_children, > ^ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:164:38: > note: in definition of macro ???p_print_warn??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:749:65: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_current->nsproxy->pid_ns_for_children); > ^~ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:164:38: > note: in definition of macro ???p_print_warn??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:748:69: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_orig->p_ed_task.p_ns.pid_ns_for_children, > ^ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:175:38: > note: in definition of macro ???p_print_info??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:749:65: > error: ???struct nsproxy??? has no member named ???pid_ns_for_children??? > (unsigned > long)p_current->nsproxy->pid_ns_for_children); > ^~ > /root/lkrg-main/src/modules/exploit_detection/../../modules/print_log/p_lkrg_print_log.h:175:38: > note: in definition of macro ???p_print_info??? > p_print_ret = printk(p_fmt, ## p_args); > \ > ^~~~~~ > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.c:747:7: > note: in expansion of macro ???p_print_log??? > p_print_log(P_LKRG_INFO, "Original[0x%lx] vs current[0x%lx]\n", > ^~~~~~~~~~~ > make[2]: *** [scripts/Makefile.build:334: > /root/lkrg-main/src/modules/exploit_detection/p_exploit_detection.o] B????d 1 > make[2]: *** Oczekiwanie na niezako??czone zadania.... > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_mark_inode_dirty/p_mark_inode_dirty.o: > warning: objtool: p_pcfi_mark_inode_dirty_entry_extra.cold.5()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_mark_inode_dirty/p_mark_inode_dirty.o: > warning: objtool: p_pcfi_mark_inode_dirty_entry_noextra.cold.6()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_mark_inode_dirty/p_mark_inode_dirty.o: > warning: objtool: p_install_pcfi_mark_inode_dirty_hook.cold.7()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_mark_inode_dirty/p_mark_inode_dirty.o: > warning: objtool: p_uninstall_pcfi_mark_inode_dirty_hook.cold.8()+0x0: > frame pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_revert_creds/p_revert_creds.o: > warning: objtool: p_revert_creds_ret.cold.1()+0x0: frame pointer state > mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_revert_creds/p_revert_creds.o: > warning: objtool: p_install_revert_creds_hook.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/p_revert_creds/p_revert_creds.o: > warning: objtool: p_uninstall_revert_creds_hook.cold.3()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/overlayfs/p_ovl_create_or_link/p_ovl_create_or_link.o: > warning: objtool: p_ovl_create_or_link_ret.cold.1()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/overlayfs/p_ovl_create_or_link/p_ovl_create_or_link.o: > warning: objtool: p_install_ovl_create_or_link_hook.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/override/overlayfs/p_ovl_create_or_link/p_ovl_create_or_link.o: > warning: objtool: p_uninstall_ovl_create_or_link_hook.cold.3()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p___queue_work/p___queue_work.o: > warning: objtool: p_pcfi___queue_work_entry_extra.cold.2()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p___queue_work/p___queue_work.o: > warning: objtool: p_pcfi___queue_work_entry_noextra.cold.3()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p___queue_work/p___queue_work.o: > warning: objtool: p_install_pcfi___queue_work_hook.cold.4()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p___queue_work/p___queue_work.o: > warning: objtool: p_uninstall_pcfi___queue_work_hook.cold.5()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_schedule/p_schedule.o: > warning: objtool: p_pcfi_schedule_entry_extra.cold.2()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_schedule/p_schedule.o: > warning: objtool: p_pcfi_schedule_entry_noextra.cold.3()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_schedule/p_schedule.o: > warning: objtool: p_install_pcfi_schedule_hook.cold.4()+0x0: frame pointer > state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_schedule/p_schedule.o: > warning: objtool: p_uninstall_pcfi_schedule_hook.cold.5()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_lookup_fast/p_lookup_fast.o: > warning: objtool: p_pcfi_lookup_fast_entry_extra.cold.3()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_lookup_fast/p_lookup_fast.o: > warning: objtool: p_pcfi_lookup_fast_entry_noextra.cold.4()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_lookup_fast/p_lookup_fast.o: > warning: objtool: p_install_pcfi_lookup_fast_hook.cold.5()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/modules/exploit_detection/syscalls/pCFI/p_lookup_fast/p_lookup_fast.o: > warning: objtool: p_uninstall_pcfi_lookup_fast_hook.cold.6()+0x0: frame > pointer state mismatch > /root/lkrg-main/src/p_lkrg_main.o: warning: objtool: > p_init_page_attr.cold.0()+0x0: frame pointer state mismatch > /root/lkrg-main/src/p_lkrg_main.o: warning: objtool: > p_uninit_page_attr.cold.1()+0x0: frame pointer state mismatch > make[1]: *** [Makefile:1316: _module_/root/lkrg-main] B????d 2 > make[1]: Opuszczenie katalogu '/usr/src/kernels/3.10.0-1062.9.1.el7.x86_64' > make: *** [Makefile:93: all] B????d 2 > > What's wrong with this ? > > > pon., 3 lut 2020 o 18:02 Solar Designer <solar@...nwall.com> napisa??(a): > > > On Mon, Feb 03, 2020 at 05:56:21PM +0100, Adam Zabrocki wrote: > > > You have problem with stackleak and structleak plugins: > > > > > > ./scripts/gcc-plugins/stackleak_plugin.so > > > cc1: error: fail to initialize plugin > > > ./scripts/gcc-plugins/stackleak_plugin.so > > > cc1: error: incompatible gcc/plugin versions > > > cc1: error: incompatible gcc/plugin versions > > > cc1: error: fail to initialize plugin > > > ./scripts/gcc-plugins/structleak_plugin.so > > > > Can this possibly be caused by forgetting to do a "make clean" between > > attempted builds with different versions of gcc? > > > > 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.