commit | f8bc0655a0db6fd3031384a88cdc707285029ca5 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <dvlasenk@redhat.com> | Tue May 24 20:30:24 2011 +0200 |
committer | Denys Vlasenko <dvlasenk@redhat.com> | Tue May 24 20:30:24 2011 +0200 |
tree | 610721b6e7ebf9a7bd6815b176a86b6dc9a34750 | |
parent | 3454e4b463e6c22c7ea8c5461ef5a077f4650a54 [diff] |
Don't perform TCB_WAITEXECVE wait if not needed. * defs.h (ptrace_setoptions_for_all): Expose this variable. * strace.c (ptrace_setoptions_for_all): Remove "static". * process.c (internal_exec): Don't set TCB_WAITEXECVE bit if we know that post-execve SIGTRAP is not going to happen.