smbd: Set process name for notifyd process
authorChristof Schmitt <cs@samba.org>
Wed, 23 Sep 2015 18:21:21 +0000 (11:21 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Thu, 24 Sep 2015 09:02:44 +0000 (11:02 +0200)
Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Sep 24 11:02:44 CEST 2015 on sn-devel-104

source3/smbd/server.c

index 23ec1686747d272069e2dc38e49a4e89fcd698c2..7b2b055a039e5ec5c483eda7dc9e5b17cf28c1d7 100644 (file)
@@ -389,7 +389,7 @@ static bool smbd_notifyd_init(struct messaging_context *msg, bool interactive)
                return true;
        }
 
-       status = reinit_after_fork(msg, ev, true, NULL);
+       status = reinit_after_fork(msg, ev, true, "smbd-notifyd");
        if (!NT_STATUS_IS_OK(status)) {
                DEBUG(1, ("%s: reinit_after_fork failed: %s\n",
                          __func__, nt_errstr(status)));