Re: [PATCH 16/18] arm64: kprobes: fix kprobes without CONFIG_KRETPROBES

2019-10-21 Thread Kees Cook
On Mon, Oct 21, 2019 at 08:21:48AM +0200, Ard Biesheuvel wrote: > On Fri, 18 Oct 2019 at 18:11, Sami Tolvanen wrote: > > > > This allows CONFIG_KRETPROBES to be disabled without disabling > > kprobes entirely. > > > > Signed-off-by: Sami Tolvanen > > Can we make kretprobes work with the shadow

Re: [PATCH 16/18] arm64: kprobes: fix kprobes without CONFIG_KRETPROBES

2019-10-21 Thread Ard Biesheuvel
On Fri, 18 Oct 2019 at 18:11, Sami Tolvanen wrote: > > This allows CONFIG_KRETPROBES to be disabled without disabling > kprobes entirely. > > Signed-off-by: Sami Tolvanen Can we make kretprobes work with the shadow call stack instead? > --- > arch/arm64/kernel/probes/kprobes.c | 2 ++ > 1

[PATCH 16/18] arm64: kprobes: fix kprobes without CONFIG_KRETPROBES

2019-10-18 Thread Sami Tolvanen
This allows CONFIG_KRETPROBES to be disabled without disabling kprobes entirely. Signed-off-by: Sami Tolvanen --- arch/arm64/kernel/probes/kprobes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/kernel/probes/kprobes.c b/arch/arm64/kernel/probes/kprobes.c index