# Re: \[PATCHv4 bpf-next 2/7\] uprobe: Add uretprobe syscall to speed up return probe

- From: Edgecombe, Rick P \<rick.p.edgecombe@intel.com\>
- Date: 2024-05-03 19:38:23 
- List: linux-trace-kernel
- Page: https://ratatoskr.run/linux-trace-kernel/2024/05/2594219
- Thread: https://ratatoskr.run/linux-api/2024/05/2592590/t.md

```text
+Some more shadow stack folks from other archs. We are discussing how uretprobes
work with shadow stack.

Context:
https://lore.kernel.org/lkml/ZjU4ganRF1Cbiug6@krava/

On Fri, 2024-05-03 at 21:18 +0200, Jiri Olsa wrote:
> 
> hack below seems to fix it for the current uprobe setup,
> we need similar fix for the uretprobe syscall trampoline setup

It seems like a reasonable direction.

Security-wise, applications cannot do this on themselves, or it is an otherwise
privileged thing right?


```
