commit | f909c8d0d759d0511ad2c741854602b0494e0390 | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Tue Feb 19 16:30:31 2013 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Tue Feb 19 16:30:31 2013 +0100 |
tree | 21455055370966279fe570673acbc198328bb3a4 | |
parent | 5c9d8f4fc5318fc740ec2a16bac5b8a29e7eb52d [diff] |
Fix NOMMU + daemonized tracer SEGV pathname[] was getting destroyed, execve of garbage pathname failing, and to top it off, the tracer's stack was also smashed and trecer segfaulted. * strace.c (exec_or_die): New function. (startup_child): Don't use pathname[] contents after vfork, make a malloced copy instead. Explain "NOMMU + -D bug" and how we work around it. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>