1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/smb_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
..
smb samdb: Add remote address to connect 2018-05-10 20:02:23 +02:00
smb2 s4:smb_server: avoid using gensec_update_ev() for the negotiate blob 2017-05-21 21:05:08 +02:00
blob.c s4/ntvfs: support FS_SECTOR_SIZE_INFORMATION query-info 2015-03-18 18:57:21 +01:00
handle.c
management.c s4-auth Rework auth subsystem to remove struct auth_serversupplied_info 2011-02-09 01:11:06 +01:00
service_smb.c source4 smdb: Add a post fork hook to the service API 2018-11-01 23:49:24 +01:00
session.c s4:smb_server/smb: only create a new session with vuid == 0 2012-05-09 01:02:16 +02:00
smb_server.c source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
smb_server.h source4/smbd: refactor the process model for prefork 2017-10-19 05:33:09 +02:00
tcon.c
wscript_build build: Build less of Samba when building --without-ntvfs-fileserver 2016-06-02 16:36:15 +02:00