Currently setting the shortname is achieved via the final arg to
smbd_reinit_after_fork(), but I'm going to remove that arg soon.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
return false;
}
+ process_set_title("smbd-scavenger", "scavenger");
reopen_logs();
state->am_scavenger = true;
exit(1);
}
+ process_set_title("smbd-notifyd", "notifyd");
+
reopen_logs();
/* Set up sighup handler for notifyd */
exit(1);
}
+ process_set_title("smbd-cleanupd", "cleanupd");
+
se = tevent_add_signal(ev,
ev,
SIGHUP,
#include "libcli/smb/smbXcli_base.h"
#include "lib/util/time_basic.h"
#include "source3/lib/substitute.h"
+#include "lib/util/util_process.h"
/* Internal message queue for deferred opens. */
struct pending_message_list {
nt_errstr(status)));
exit(1);
}
+ process_set_title("smbd-echo", "echo handler");
initialize_password_db(true, xconn->client->raw_ev_ctx);
smbd_echo_loop(xconn, listener_pipe[1]);
exit(0);