Re: [PATCH 5.4.y 0/1] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation

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

 



Hi!

Le mardi 31 octobre 2023, 16:16:07 EET Greg KH a écrit :
> On Mon, Oct 23, 2023 at 02:36:22PM +0300, Francis Laniel wrote:
> > Hi.
> > 
> > 
> > There was problem to apply upstream patch on kernel 5.4.
> > 
> > I adapted the patch and came up with the attached one, it was tested and
> > validated:
> > root@vm-amd64:~# uname -a
> > Linux vm-amd64 5.4.258+ #121 SMP Mon Oct 23 14:22:43 EEST 2023 x86_64
> > GNU/Linux root@vm-amd64:~# echo 'p:probe/name_show name_show' >
> > /sys/kernel/tracing/kprobe_events bash: echo: write error: Cannot assign
> > requested address
> > 
> > As I had to modify the patch, I would like to get reviews before getting
> > it
> > merged in stable.
> > 
> > Francis Laniel (1):
> >   tracing/kprobes: Return EADDRNOTAVAIL when func matches several
> >   
> >     symbols
> >  
> >  kernel/trace/trace_kprobe.c | 74 +++++++++++++++++++++++++++++++++++++
> >  kernel/trace/trace_probe.h  |  1 +
> >  2 files changed, 75 insertions(+)
> 
> I don't see a 5.10.y version of this, did I miss it somewhere?

No, this is "normal".
As I modified the master patch, I would have liked to get other reviews before 
sending all the batches of patches.
Once everything is validated, I will send patches for the missing version for 
sure!

> thanks,
> 
> greg k-h

Best regards.






[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux