mirror of
https://github.com/samba-team/samba.git
synced 2025-01-27 14:04:05 +03:00
99aea42520
Add a post fork hook to the service API this will be called: - standard process model immediately after the task_init. - single process model immediately after the task_init - prefork process model, inhibit_pre_fork = true immediately after the task_init - prefork process model, inhibit_pre_fork = false after each service worker has forked. It is not run on the service master process. The post fork hook is not called in the standard model if a new process is forked on a new connection. It is instead called immediately after the task_init. The task_init hook has been changed to return an error code. This ensures the post_fork code is only run if the task_init code completed successfully. Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Here are some pointers to the needed ntp version. https://support.ntp.org/bugs/show_bug.cgi?id=1028 The patch against ntp-dev-4.2.5p125 https://support.ntp.org/bugs/attachment.cgi?id=457