source4 smbd: pass instance number to post_fork
authorGary Lockyer <gary@catalyst.net.nz>
Wed, 29 Aug 2018 01:16:08 +0000 (13:16 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 7 Nov 2018 16:55:09 +0000 (17:55 +0100)
commitb003134e0d1cdc235e00a602edd2e745233f98b8
treebf40f4e43ec8d8a214b12bfcf2f2658d37f3bcb8
parentb543563ddf46e776fa4996fa4e4635684076cf80
source4 smbd: pass instance number to post_fork

Pass the instance number to the post_fork hook. This is required to
allow the rpc_server to support the prefork process model.

Signed-off-by: Gary Lockyer <gary@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/kdc-heimdal.c
source4/smbd/process_prefork.c
source4/smbd/process_single.c
source4/smbd/process_standard.c
source4/smbd/service.h