[PATCH RFC 4/6] arm64: Add kernel return probes support(kretprobes)
Sandeepa Prabhu
sandeepa.prabhu at linaro.org
Mon Nov 11 03:55:54 EST 2013
On 11 November 2013 13:23, AKASHI Takahiro <takahiro.akashi at linaro.org> wrote:
> On 11/11/2013 01:29 PM, Sandeepa Prabhu wrote:
>>
>> On 8 November 2013 22:34, Will Deacon <will.deacon at arm.com> wrote:
>>>>
>>>> +static inline long regs_return_value(struct pt_regs *regs)
>>>> +{
>>>> + return regs->regs[0];
>>>> +}
>>>
>>>
>>> This is also being implemented by another patch series (I think the audit
>>> stuff?).
>>
>> Not sure, I did not see this being implemented in audit(audit adds for
>> 'syscallno', not for return value in x0)
>> I can rebase my code if this change is implemented and queued in other
>> patchset.
>
>
> Yes, my audit patch has it.
> The definition is referred to in include/linux/audit.h (and ptrace.h),
> too.
Thanks, I will rebase kprobes code to use your API.
>
> -Takahiro AKASHI
More information about the linux-arm-kernel
mailing list