• Andrew Morton's avatar
    [PATCH] Fix potential set_child_tid/clear_child_tid bug · b3cc42df
    Andrew Morton authored
    From: David Mosberger <davidm@napali.hpl.hp.com>
    
    At the moment, if you don't set CLONE_CHILD_SETTID/CLONE_CHILD_CLEARTID,
    the {set,clear}_child_tid values get inherited from the parent task.  I may
    be missing something, but I suspect that's not the intended behavior.  The
    patch below instead clears the respective members.
    b3cc42df
fork.c 29 KB