1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00
samba-mirror/source4/wrepl_server
Gary Lockyer 99aea42520 source4 smdb: Add a post fork hook to the service API
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>
2018-11-01 23:49:24 +01:00
..
wrepl_apply_records.c s4:wrepl_server: avoid some compiler warnings 2014-02-13 11:54:13 +01:00
wrepl_in_call.c Remove all uses of the NT_STATUS_NOT_OK_RETURN_AND_FREE macro from the codebase. 2014-03-05 16:33:22 +01:00
wrepl_in_connection.c source4/smbd: Do not overstamp the process model with "single" 2017-10-19 05:33:10 +02:00
wrepl_out_helpers.c source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
wrepl_out_helpers.h
wrepl_out_pull.c
wrepl_out_push.c
wrepl_periodic.c
wrepl_scavenging.c
wrepl_server.c source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
wrepl_server.h
wscript_build Revert "waf-mitkrb5: enable dcerpc_server library to support OpenChange client code" 2012-06-01 16:46:07 +02:00