[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <39a46b62-7890-e952-3d77-756a53783176@linux.microsoft.com>
Date: Fri, 4 Jun 2021 15:40:45 -0500
From: "Madhavan T. Venkataraman" <madvenka@...ux.microsoft.com>
To: Mark Brown <broonie@...nel.org>
Cc: mark.rutland@....com, jpoimboe@...hat.com, ardb@...nel.org,
nobuta.keiya@...itsu.com, catalin.marinas@....com, will@...nel.org,
jmorris@...ei.org, pasha.tatashin@...een.com, jthierry@...hat.com,
linux-arm-kernel@...ts.infradead.org,
live-patching@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [RFC PATCH v5 2/2] arm64: Create a list of SYM_CODE functions,
check return PC against list
On 6/4/21 11:59 AM, Mark Brown wrote:
> On Wed, May 26, 2021 at 04:49:17PM -0500, madvenka@...ux.microsoft.com wrote:
>
>> + * - return_to_handler() is handled by the unwinder by attempting to
>> + * retrieve the original return address from the per-task return
>> + * address stack.
>> + *
>> + * - kretprobe_trampoline() can be handled in a similar fashion by
>> + * attempting to retrieve the original return address from the per-task
>> + * kretprobe instance list.
>> + *
>> + * - I reckon optprobes can be handled in a similar fashion in the future?
>
> Note that there's a patch for optprobes on the list now:
>
> https://lore.kernel.org/r/1622803839-27354-1-git-send-email-liuqi115@huawei.com
Yes. I saw that.
Madhavan
Powered by blists - more mailing lists