mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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> |
||
---|---|---|
.. | ||
smb | ||
smb2 | ||
blob.c | ||
handle.c | ||
management.c | ||
service_smb.c | ||
session.c | ||
smb_server.c | ||
smb_server.h | ||
tcon.c | ||
wscript_build |