Re: [PATCHv2 1/3] uprobe: Add uretprobe syscall to speed up return probe

From
Oleg Nesterov <oleg@redhat.com>
Date
2024-04-04 16:12:47
Also in
bpf, linux-trace-kernel, lkml
Reply to
Masami Hiramatsu (Google), 2024-04-04
On 04/05, Masami Hiramatsu wrote:
Can we make this syscall and uprobe behavior clearer? As you said, if
the application use sigreturn or longjump, it may skip returns and
shadow stack entries are left in the kernel. In such cases, can uretprobe
detect it properly, or just crash the process (or process runs wrongly)?
Please see the comment in handle_trampoline(), it tries to detect this case.
This patch should not make any difference.

Oleg.
Thread (14 messages) 14 messages, 3 authors, last reply 2024-04-09
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help