aboutsummaryrefslogtreecommitdiffstats
path: root/linux
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2023-06-25 14:31:34 +0200
committerMattias Andrée <maandree@kth.se>2023-06-25 14:31:34 +0200
commit8e20ec32e64b1e57972835f15e387ac1e8d6a8f6 (patch)
tree4804641f721a0ed9a16af521e4d44246856a27a7 /linux
parentAdd more system call formattings (diff)
downloadsctrace-8e20ec32e64b1e57972835f15e387ac1e8d6a8f6.tar.gz
sctrace-8e20ec32e64b1e57972835f15e387ac1e8d6a8f6.tar.bz2
sctrace-8e20ec32e64b1e57972835f15e387ac1e8d6a8f6.tar.xz
Add -a and trivial improvements
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'linux')
-rw-r--r--linux/os.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/os.h b/linux/os.h
index 59092e1..05253c2 100644
--- a/linux/os.h
+++ b/linux/os.h
@@ -37,6 +37,10 @@
# define REGARGS(a, b) a, b
#endif
+#if defined(__arm__) || defined(__thumb__)
+# define USE_PTRACE_SET_SYSCALL
+#endif
+
#ifndef KEY_SPEC_THREAD_KEYRING
# define KEY_SPEC_THREAD_KEYRING -1