process_standard: Honour proc_ctx->inhibit_fork_on_accept
authorGary Lockyer <gary@catalyst.net.nz>
Thu, 19 Oct 2017 02:15:33 +0000 (15:15 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Oct 2017 03:33:10 +0000 (05:33 +0200)
commit62d7bf9e0ae94baaaa090051bd6b7cb40e5ef3c3
treeab6dea962aac36c2547ca5c7c1d746395f53b301
parent193afc55e6e467fa362ad93ea09ba0a92b6074a5
process_standard: Honour proc_ctx->inhibit_fork_on_accept

This allows the service to control if it should fork per accept() without needing
to replace the whole process model with process_single.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
source4/smbd/process_standard.c