[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

linux-kbuild-4.7 is missing Makefile.gcc-plugins



Hello,

using linux-headers-4.7.0-1-grsec-amd64 (4.7.8-1+grsec201610161720+1) I
needed to compile dkms module, which failed, due to it not being build
with gcc-plugins support. Specific error is :

version magic
'4.7.0-1-grsec-amd64 SMP mod_unload modversions KERNEXEC_BTS UDEREF RAP
REFCOUNT GRSEC '
should be
'4.7.0-1-grsec-amd64 SMP mod_unload modversions KERNEXEC_BTS UDEREF RAP
REFCOUNT CONSTIFY_PLUGIN STACKLEAK_PLUGIN GRSEC RANDSTRUCT_PLUGIN_.........'

I tracked this issue down to linux-kbuild-4.7 scripts folder misssing
Makefile.gcc-plugins and other plugin related files, which results in
incorrect version magic being set on kernel module and not being
loadable by GRSecurity patched kernel.

Is my analysis wrong? If not, is there any workaround or upstream-fix ?

Thank you
Best Regards
Marek Sebera

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: