1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source4/dsdb/kcc
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
..
garbage_collect_tombstones.c s4-kcc: Do not dereference a NULL pointer 2017-02-23 03:18:10 +01:00
garbage_collect_tombstones.h dsdb: Expose ldb error string to dsdb_garbage_collect_tombstones() callers 2016-09-01 05:49:15 +02:00
kcc_connection.c kcc: Remove unused, untested KCC code 2017-09-20 06:28:07 +02:00
kcc_connection.h kcc_connection invocation_id added to struct 2011-07-14 07:05:10 +10:00
kcc_drs_replica_info.c dlist: remove unneeded type argument from DLIST_ADD_END() 2016-02-06 21:48:17 +01:00
kcc_periodic.c dns+kcc: adding dns scavenging to kcc periodic run 2018-07-12 04:31:55 +02:00
kcc_service.c source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
kcc_service.h dns+kcc: adding dns scavenging to kcc periodic run 2018-07-12 04:31:55 +02:00
scavenge_dns_records.c kcc: Fix the 32-bit build 2018-07-18 00:04:10 +02:00
scavenge_dns_records.h dns: dns record scavenging function (without task) 2018-07-12 04:31:55 +02:00