Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg KH <gregkh@linuxfoundation.org>
To: Francis Laniel <flaniel@linux.microsoft.com>
Cc: stable@vger.kernel.org, Masami Hiramatsu <mhiramat@kernel.org>
Subject: Re: [PATCH 5.4.y 0/1] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation
Date: Tue, 31 Oct 2023 15:16:07 +0100	[thread overview]
Message-ID: <2023103148-bride-railing-ece8@gregkh> (raw)
In-Reply-To: <20231023113623.36423-1-flaniel@linux.microsoft.com>

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?

thanks,

greg k-h

  parent reply	other threads:[~2023-10-31 14:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-21 19:30 FAILED: patch "[PATCH] tracing/kprobes: Return EADDRNOTAVAIL when func matches" failed to apply to 5.4-stable tree gregkh
2023-10-23 11:36 ` [PATCH 5.4.y 0/1] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation Francis Laniel
2023-10-23 11:36   ` [PATCH 5.4.y 1/1] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols Francis Laniel
2023-10-31 14:16   ` Greg KH [this message]
2023-10-31 20:59     ` [PATCH 5.4.y 0/1] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation Francis Laniel
2023-11-27 17:09 ` [PATCH 5.4.y] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols Francis Laniel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2023103148-bride-railing-ece8@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=flaniel@linux.microsoft.com \
    --cc=mhiramat@kernel.org \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox