Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191127191531.GA29087@pi3.com.pl>
Date: Wed, 27 Nov 2019 20:15:31 +0100
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: lkrg-0.7 implicit declaration of 'stack_trace_print'

Hi,

I've just pushed a new commit which should address this issue. LKRG should be 
able to compile and run on the kernels without CONFIG_STACKTRACE:

https://bitbucket.org/Adam_pi3/lkrg-main/commits/196266c5eda079022f3876fa625089a7063269ef

Thanks,
Adam

On Sat, Nov 23, 2019 at 06:44:25AM +0100, Adam Zabrocki wrote:
> Hi,
> 
> I believe your kernel might not be compiled with CONFIG_STACKTRACE option. This 
> specific call is sueful for debugging purpose and it is not critical. It is 
> recommended to have kernel compiled with CONFIG_STACKTRACE however as a 
> temporary fix you might just comment call to this function.
> 
> Thanks,
> Adam
> 
> On Thu, Nov 21, 2019 at 07:38:48PM +0100, Michael de Lang wrote:
> > Hello,
> > 
> > When compiling lkrg-0.7 on ubuntu 19.10 and kernel 5.40-rc7 I get the
> > following error:
> > 
> > $ make
> > make -C /lib/modules/5.4.0-rc7-custom/build M=/home/oipo/Downloads/lkrg-0.7
> > modules
> > make[1]: Entering directory '/usr/src/linux-headers-5.4.0-rc7-custom'
> >   CC [M]
> >  /home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.o
> > /home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.c:
> > In function ???p_ed_enforce_pcfi???:
> > /home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.c:1092:7:
> > error: implicit declaration of function ???stack_trace_print???; did you mean
> > ???acpi_trace_point???? [-Werror=implicit-function-declaration]
> >  1092 |       stack_trace_print(p_trace.entries, p_trace.nr_entries, 0);
> >       |       ^~~~~~~~~~~~~~~~~
> >       |       acpi_trace_point
> > cc1: some warnings being treated as errors
> > make[2]: *** [scripts/Makefile.build:266:
> > /home/oipo/Downloads/lkrg-0.7/src/modules/exploit_detection/p_exploit_detection.o]
> > Error 1
> > make[1]: *** [Makefile:1652: /home/oipo/Downloads/lkrg-0.7] Error 2
> > make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-rc7-custom'
> > make: *** [Makefile:91: all] Error 2
> > 
> > including linux/ftrace did not seem to resolve this.
> > 
> > Met vriendelijke groet,
> > Michael de Lang
> 
> -- 
> pi3 (pi3ki31ny) - pi3 (at) itsec pl
> http://pi3.com.pl
> 

-- 
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.