[PATCH] Remove TCB_FOLLOWFORK
Dmitry V. Levin
ldv at altlinux.org
Thu Jun 23 13:57:43 UTC 2011
On Wed, Jun 22, 2011 at 01:42:20PM +0200, Denys Vlasenko wrote:
> TCB_FOLLOWFORK flag seems to be unnecessary, because we either follow
> all [v]forks/clones or don't follow any, therefore global variable
> followfork is an already existing indicator of what we want to do.
> This patch drops all setting/clearing of TCB_FOLLOWFORK bit,
> and replaces checks for this bit by checks of followfork value.
> In internal_fork, check is moved to in front of if(), since
> the check is needed on both "entering" and "exiting" branch.
> Please review.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the Strace-devel