[chrony-dev] [Git][chrony/chrony][master] 2 commits: logging: add function to send message to foreground process

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Title: GitLab

Miroslav Lichvar pushed to branch master at chrony / chrony

Commits:

  • 7915f524
    by Miroslav Lichvar at 2024-07-04T16:50:22+02:00
    logging: add function to send message to foreground process
    
  • 34be117c
    by Miroslav Lichvar at 2024-07-04T16:50:22+02:00
    main: check for killed foreground process
    
    On start, if the foreground process waiting for the daemon process to
    close the pipe (after finishing the RTC initialization, initstepslew,
    etc) is killed, terminate the daemon too assuming that whatever killed
    the foreground process it wanted all chronyd processes to stop.
    
    In the daemon, before closing the pipe file descriptor, send an empty
    message to check if the pipe isn't already closed on the other end.
    

3 changed files:



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/