Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-20 Thread Russell King - ARM Linux admin
On Tue, Oct 20, 2020 at 05:32:26AM +, Joel Stanley wrote: > On Fri, 9 Oct 2020 at 05:20, Joel Stanley wrote: > > > > On Thu, 1 Oct 2020 at 04:30, Andrew Jeffery wrote: > > > > > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > > > to a panic in memcpy() when injectin

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-19 Thread Joel Stanley
On Fri, 9 Oct 2020 at 05:20, Joel Stanley wrote: > > On Thu, 1 Oct 2020 at 04:30, Andrew Jeffery wrote: > > > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > > to a panic in memcpy() when injecting a kprobe despite the fixes found > > in commit e46daee53bb5 ("ARM: 8806/

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-08 Thread Joel Stanley
On Thu, 1 Oct 2020 at 04:30, Andrew Jeffery wrote: > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > to a panic in memcpy() when injecting a kprobe despite the fixes found > in commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with > FORTIFY_SOURCE") and com

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-08 Thread Juraj Vijtiuk
Hi, [Adding the bpf list on Cc] On Thu, Oct 8, 2020 at 5:38 PM Luka Oreskovic wrote: > > On Thu, Oct 1, 2020 at 6:30 AM Andrew Jeffery wrote: > > > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > > to a panic in memcpy() when injecting a kprobe despite the fixes found

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-10-08 Thread Luka Oreskovic
On Thu, Oct 1, 2020 at 6:30 AM Andrew Jeffery wrote: > > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > to a panic in memcpy() when injecting a kprobe despite the fixes found > in commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with > FORTIFY_SOURCE") and c

Re: [PATCH v2] ARM: kprobes: Avoid fortify_panic() when copying optprobe template

2020-09-30 Thread Masami Hiramatsu
On Thu, 1 Oct 2020 13:59:27 +0930 Andrew Jeffery wrote: > Setting both CONFIG_KPROBES=y and CONFIG_FORTIFY_SOURCE=y on ARM leads > to a panic in memcpy() when injecting a kprobe despite the fixes found > in commit e46daee53bb5 ("ARM: 8806/1: kprobes: Fix false positive with > FORTIFY_SOURCE") an