]> granicus.if.org Git - strace/commitdiff
Document that syscall names match kernel __NR_* constants
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 9 Dec 2015 15:55:33 +0000 (15:55 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Wed, 9 Dec 2015 15:59:15 +0000 (15:59 +0000)
* strace.1: Note syscall naming difference between architectures
and the rule of choosing the right syscall name in each case.

strace.1

index c1f87e9da3c1f260ee1ad81539ad4143d5eb3d4c..f40add8b0e53e9c3a416b723f73115bd5cbc388b 100644 (file)
--- a/strace.1
+++ b/strace.1
@@ -654,6 +654,18 @@ discrepancies are normal but idiosyncratic characteristics of the
 system call interface and are accounted for by C library wrapper
 functions.
 .LP
+Some system calls have different names in different architectures and
+personalities.  In these cases, system call filtering and printing
+uses the names that match corresponding
+.BR __NR_ *
+kernel macros of the tracee's architecture and personality.
+There are two exceptions from this general rule:
+.BR arm_fadvise64_64 (2)
+ARM syscall and
+.BR xtensa_fadvise64_64 (2)
+Xtensa syscall are filtered and printed as
+.BR fadvise64_64 (2).
+.LP
 On some platforms a process that is attached to with the
 .B \-p
 option may observe a spurious EINTR return from the current