Changeset 134 for branches/samba-3.0/source/nsswitch/winbindd.c
- Timestamp:
- May 23, 2008, 6:56:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/nsswitch/winbindd.c
r124 r134 719 719 } 720 720 721 /* check if HUP has been received and reload files */ 722 void winbind_check_sighup(void) 723 { 724 if (do_sighup) { 725 726 DEBUG(3, ("got SIGHUP\n")); 727 728 msg_reload_services(MSG_SMB_CONF_UPDATED, pid_to_procid(0), NULL, 0, NULL); 729 do_sighup = False; 730 } 731 } 732 733 /* check if TERM has been received */ 734 void winbind_check_sigterm(void) 735 { 736 if (do_sigterm) 737 terminate(); 738 } 739 721 740 /* Process incoming clients on listen_sock. We use a tricky non-blocking, 722 741 non-forking, non-threaded model which allows us to handle many … … 883 902 /* Check signal handling things */ 884 903 885 if (do_sigterm) 886 terminate(); 887 888 if (do_sighup) { 889 890 DEBUG(3, ("got SIGHUP\n")); 891 892 msg_reload_services(MSG_SMB_CONF_UPDATED, pid_to_procid(0), NULL, 0, NULL); 893 do_sighup = False; 894 } 904 winbind_check_sigterm(); 905 winbind_check_sighup(); 895 906 896 907 if (do_sigusr2) {
Note:
See TracChangeset
for help on using the changeset viewer.