]> granicus.if.org Git - strace/commit
Do not trace children cloned with CLONE_UNTRACED flag
authorWang Chao <wang.chao@cn.fujitsu.com>
Thu, 16 Sep 2010 03:20:56 +0000 (11:20 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 17 Sep 2010 16:54:52 +0000 (16:54 +0000)
commite636c8516567642ed1ef0b281739f90650a6e109
tree72f94cfa419cef2757ee83847337da24985b957f
parentcbaaf799115b2354b0db69013324f4c9ada9afcd
Do not trace children cloned with CLONE_UNTRACED flag

If clone is called with flag CLONE_UNTRACED, to be consistent with
option PTRACE_O_TRACECLONE, we should not set CLONE_PTRACE flag on
its arguments.

* process.c [LINUX] (internal_fork): Check the syscall and arguments.

Signed-off-by: Wang Chao <wang.chao@cn.fujitsu.com>
process.c