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:

- logging.c
- logging.h
- main.c


View it on GitLab: 
https://gitlab.com/chrony/chrony/-/compare/05bd4898a9a64fe1e5432a78939c4b4b82619c2f...34be117c9cc4ea471b13dd009fd2b18db48c8226

-- 
View it on GitLab: 
https://gitlab.com/chrony/chrony/-/compare/05bd4898a9a64fe1e5432a78939c4b4b82619c2f...34be117c9cc4ea471b13dd009fd2b18db48c8226
You're receiving this email because of your account on gitlab.com.


Reply via email to