diff options
author | Jim McDonough <jmcd@samba.org> | 2008-05-13 16:57:01 -0400 |
---|---|---|
committer | Jim McDonough <jmcd@samba.org> | 2008-05-13 16:57:01 -0400 |
commit | a6b0ea8ee341fde28e568f8e1a4f16d9a89425c8 (patch) | |
tree | 22b0ed7cfecc581adcafdfdc101900516aae517b /source3/winbindd/winbindd_dual.c | |
parent | 34933a5c236ee489e4c11172820cdc0496b9e334 (diff) | |
download | samba-a6b0ea8ee341fde28e568f8e1a4f16d9a89425c8.tar.gz samba-a6b0ea8ee341fde28e568f8e1a4f16d9a89425c8.tar.bz2 samba-a6b0ea8ee341fde28e568f8e1a4f16d9a89425c8.zip |
Enable winbind child processes to do something with signals,
in particular closing and reopening logs on SIGHUP.
Conflicts:
source/winbindd/winbindd.c
(This used to be commit 0f7b11accec7df1c0e9a9dc0828a5e0c5ddec4cb)
Diffstat (limited to 'source3/winbindd/winbindd_dual.c')
-rw-r--r-- | source3/winbindd/winbindd_dual.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index f71eec56f6..1d741be79e 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -1105,6 +1105,10 @@ static bool fork_domain_child(struct winbindd_child *child) struct timeval now; TALLOC_CTX *frame = talloc_stackframe(); + /* check for signals */ + winbind_check_sigterm(); + winbind_check_sighup(); + run_events(winbind_event_context(), 0, NULL, NULL); GetTimeOfDay(&now); |