]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: prepare smbd for calling setproctitle()
authorRalph Boehme <slow@samba.org>
Fri, 2 Dec 2022 14:36:39 +0000 (15:36 +0100)
committerJeremy Allison <jra@samba.org>
Wed, 14 Dec 2022 01:38:29 +0000 (01:38 +0000)
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/server.c

index 9b211238c118108436dfa9ce77e9f00a234fb561..7e0ee39b87ddb33827def1a7b311418be44d0522 100644 (file)
@@ -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
         */