s4/samba: call force_check_log_size() in standard_new_task()
authorRalph Boehme <slow@samba.org>
Thu, 26 Nov 2020 14:24:44 +0000 (15:24 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 7 Dec 2020 18:54:29 +0000 (18:54 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248
RN: samba process does not honor max log size

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Dec  7 18:54:29 UTC 2020 on sn-devel-184

source4/samba/process_standard.c

index 0e1a2db8a5b5efb082efcb0ed12fa8e41b91bea1..396054dbc9d6381be844dc46709cd2e7e02c5885 100644 (file)
@@ -516,6 +516,8 @@ static void standard_new_task(struct tevent_context *ev,
         */
        prctl_set_comment("%s[task]", service_name);
 
+       force_check_log_size();
+
        /*
         * Set up the process context to be passed through to the terminate
         * and accept_connection functions