process_standard: Use the new process_context
authorGary Lockyer <gary@catalyst.net.nz>
Mon, 18 Sep 2017 00:56:09 +0000 (12:56 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 19 Oct 2017 03:33:10 +0000 (05:33 +0200)
commit17d3a9d431c2babb730b7e35c076ee714ca6a9df
tree5c2f7f9c5c409061210e7e7cb82bc2aac68ce4be
parentb852ad044b98c0c574c3420956e153055d46136d
process_standard: Use the new process_context

Use the new process_context to control the from_parent_fd
This avoids the use of global variables, and will in the next patch
allow process_standard to run as what was known as single without
over-stamping a different process model.

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