]> granicus.if.org Git - strace/commit
NOMMU: do not hide startup syscalls unless in -D mode
authorDmitry V. Levin <ldv@altlinux.org>
Tue, 14 May 2013 22:35:46 +0000 (22:35 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Tue, 14 May 2013 22:50:11 +0000 (22:50 +0000)
commit1d2435b20bc81fb52c3edb19a3b6247ce2d43ca6
treee875e816f3c8d19bc68020328373092c3f8c06ba
parent882478a0724c04287ac232c212312c8e094cce43
NOMMU: do not hide startup syscalls unless in -D mode

On NOMMU systems in "strace PROG" case, we have no way to attach to
the tracee before it calls execve unless in -D mode.  That is, the
first execve call is very likely to be missed, and setting
hide_log_until_execve just results to empty log.

* strace.c (init) [NOMMU_SYSTEM]: Do not set hide_log_until_execve
unless in -D mode.
strace.c