From 12d8bd01b062cc5fe055976b80415fc563d0c0ae Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 7 Nov 2022 16:12:30 +0100 Subject: ptrace-sigtraps: update --- _posts/2022-11-07-ptrace-sigtraps.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_posts/2022-11-07-ptrace-sigtraps.md b/_posts/2022-11-07-ptrace-sigtraps.md index d3a7e5e..2f42a81 100644 --- a/_posts/2022-11-07-ptrace-sigtraps.md +++ b/_posts/2022-11-07-ptrace-sigtraps.md @@ -4,8 +4,8 @@ date: 2022-11-07 13:00 +0100 --- When using `PTRACE_ATTACH` the `ptrace` mechanism reuses SIGTRAP for a number of things by default. -This makes it unnecessarily hard to distinguish regular traps possibly caused -by breakpoints we might place from other events. +This makes it unnecessarily hard to distinguish regular traps (possibly caused +by breakpoints we might place) from other events. 1. After `ptrace(PTRACE_SYSCALL)`, syscall-stops will be reported as SIGTRAPs. -- cgit v1.2.3