smbd: Set process name for async echo handler
authorChristof Schmitt <cs@samba.org>
Wed, 23 Sep 2015 18:15:44 +0000 (11:15 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 24 Sep 2015 06:00:16 +0000 (08:00 +0200)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/smbd/process.c

index 677e1df8174de4206601633d4b9e30f435903ad1..74d34efea0dd9340c5cc48b703a35b21a7ec23d2 100644 (file)
@@ -3320,7 +3320,7 @@ bool fork_echo_handler(struct smbXsrv_connection *xconn)
                set_blocking(listener_pipe[1], false);
 
                status = smbd_reinit_after_fork(xconn->msg_ctx, xconn->ev_ctx,
-                                               true, NULL);
+                                               true, "smbd-echo");
                if (!NT_STATUS_IS_OK(status)) {
                        DEBUG(1, ("reinit_after_fork failed: %s\n",
                                  nt_errstr(status)));