aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_posts/2022-11-07-ptrace-sigtraps.md4
1 files 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.