Ignore:
Timestamp:
Sep 24, 2009, 9:15:13 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 to 3.2.14 (final)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/smbd/server.c

    r233 r335  
    349349        unsigned dns_port = 0;
    350350
    351         if (!is_daemon) {
    352                 return open_sockets_inetd();
    353         }
    354 
    355351#ifdef HAVE_ATEXIT
    356352        {
     
    362358        }
    363359#endif
     360
     361        if (!is_daemon) {
     362                /*
     363                 * Stop zombies the old way.
     364                 * We aren't forking any new
     365                 * 'normal' connections when
     366                 * run from [x]inetd.
     367                 */
     368                CatchChild();
     369                return open_sockets_inetd();
     370        }
    364371
    365372        /* Stop zombies */
     
    12071214        BlockSignals(False, SIGTERM);
    12081215
     1216        /* Ensure we leave no zombies until we
     1217         * correctly set up child handling below. */
     1218        CatchChild();
     1219
    12091220        /* we want total control over the permissions on created files,
    12101221           so set our umask to 0 */
Note: See TracChangeset for help on using the changeset viewer.