]> granicus.if.org Git - strace/commit
Straighten up confused comments/messages about post-execve SIGTRAP handling
authorDenys Vlasenko <dvlasenk@redhat.com>
Sun, 21 Aug 2011 16:03:23 +0000 (18:03 +0200)
committerDenys Vlasenko <dvlasenk@redhat.com>
Tue, 23 Aug 2011 10:53:02 +0000 (12:53 +0200)
commitb88f96129f8ebc064d490c8c161bcbc925d938c8
tree625da6beaf8a24a4fca7c27cd37c5bf3d734232c
parentc95a88f124895042345473fad58daa30da9e1565
Straighten up confused comments/messages about post-execve SIGTRAP handling

* defs.h: Explain TCB_INSYSCALL and TCB_WAITEXECVE bits in detail.
* strace.c (choose_pfd): Use entering/exiting macros instead of direct check
for TCB_INSYSCALL.
* syscall.c (get_scno): Use entering/exiting macros instead of direct check
for TCB_INSYSCALL. Fix comments about post-execve SIGTRAP.
(syscall_fixup): Use entering/exiting instead of direct check
for TCB_INSYSCALL. Add a comment what "not a syscall entry" message
usually means. Change wrong "stray syscall exit" messages into
"not a syscall entry" ones.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
defs.h
strace.c
syscall.c