From: Ralph Boehme Date: Fri, 2 Dec 2022 14:36:39 +0000 (+0100) Subject: smbd: prepare smbd for calling setproctitle() X-Git-Tag: talloc-2.4.0~265 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14571c5cc47ccc1d168f38c65d786b61492485d9;p=thirdparty%2Fsamba.git smbd: prepare smbd for calling setproctitle() Signed-off-by: Ralph Boehme Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 9b211238c11..7e0ee39b87d 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -1627,6 +1627,8 @@ extern void build_options(bool screen); }; bool ok; + setproctitle_init(argc, discard_const(argv), environ); + /* * Do this before any other talloc operation */