aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_posts
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-11-07 16:12:30 +0100
committerEgor Tensin <Egor.Tensin@gmail.com>2022-11-07 16:12:30 +0100
commit12d8bd01b062cc5fe055976b80415fc563d0c0ae (patch)
treec697a7ea3cd778b07ee25153d73d47c77a0e8198 /_posts
parentmove "Recurring decimals" to /jekyll-theme/ (diff)
downloadblog-12d8bd01b062cc5fe055976b80415fc563d0c0ae.tar.gz
blog-12d8bd01b062cc5fe055976b80415fc563d0c0ae.zip
ptrace-sigtraps: update
Diffstat (limited to '')
-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.