Skip to content
  • Andrei Vagin's avatar
    0768d920
    zdtm: rework a synchronization scheme · 0768d920
    Andrei Vagin authored
    
    
    Currently test_daemon() sends a signal to a parent process,
    when a test completed a prepartion stage. But it doesn't work,
    if a child changed uid and gid, because it doesn't have enough
    permissions in this case.
    
    This patch reworks a synchronization scheme to use a futex
    instead of sending signals.
    
    Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
    0768d920
    zdtm: rework a synchronization scheme
    Andrei Vagin authored
    
    
    Currently test_daemon() sends a signal to a parent process,
    when a test completed a prepartion stage. But it doesn't work,
    if a child changed uid and gid, because it doesn't have enough
    permissions in this case.
    
    This patch reworks a synchronization scheme to use a futex
    instead of sending signals.
    
    Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
Loading