Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200604142438.GA21690@pi3.com.pl>
Date: Thu, 4 Jun 2020 16:24:38 +0200
From: Adam Zabrocki <pi3@....com.pl>
To: lkrg-users@...ts.openwall.com
Subject: Re: Support for 5.7 linux kernel?

Hey,

You didn't enable CONFIG_KPROBES which is the core feature for LKRG.

Thanks,
Adam

On Thu, Jun 04, 2020 at 08:25:39AM +0200, Mikhail Morfikov wrote:
> On 04/06/2020 08:11, Mikhail Morfikov wrote:
> > On 04/06/2020 07:51, Adam Zabrocki wrote:
> >> Hey,
> >>
> >> Can you double check if you have enabled CONFIG_MODULE_UNLOAD ?
> >> I've checked the sources here (latest 5.7):
> >>
> >> https://elixir.bootlin.com/linux/v5.7-rc7/source/include/linux/module.h#L501
> >>
> >> and missing variable is under #ifdef CONFIG_MODULE_UNLOAD block.
> >>
> > Yes, it builds well with CONFIG_MODULE_UNLOAD enabled.:
> > 
> > # dkms status
> > lkrg, 0.7+git20200604, 5.7.0-amd64, x86_64: installed
> > 
> > 
> 
> Ok, maybe it builds nice now, but it doesn't look like it's working well:
> 
> # modprobe -v p_lkrg
> insmod /lib/modules/5.7.0-amd64/updates/dkms/p_lkrg.ko
> modprobe: ERROR: could not insert 'p_lkrg': Network is down
> 
> and in the syslog I have the following:
> 
> kernel: [p_lkrg] Loading LKRG...
> kernel: [p_lkrg] System does NOT support SMAP. LKRG can't enforce SMAP validation :(
> kernel: [p_lkrg] [get_kallsyms_address] register_kprobe error [-38] :(
> kernel: [p_lkrg] Can't find kallsyms_lookup_name() function address! Exiting...
> 




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