]> git.ipfire.org Git - thirdparty/samba.git/commit
s4: replace low-level SIGUP handler with a tevent handler
authorRalph Boehme <slow@samba.org>
Fri, 20 Nov 2020 14:21:03 +0000 (15:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 9 Dec 2020 10:44:15 +0000 (10:44 +0000)
commit1a6f2871036f5271aefa63f745e691a38684b40e
tree0bcb3e28e6147a859f71d6bd81644830dab75b30
parent7299ebb1215776b19f5094e861a21c7df06220f2
s4: replace low-level SIGUP handler with a tevent handler

Replace the low-level signal handler for SIGHUP with a nice tevent signal
handler. The low-level handler sig_hup() installed by setup_signals() remains
being used during early startup before a tevent context is available.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14248

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
(cherry picked from commit 9f71e6173ab43a04804ba8061cb0e8ae6c0165bf)
source4/smbd/server.c