Ignore:
Timestamp:
Aug 4, 2009, 8:51:22 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 to 3.3.7

File:
1 edited

Legend:

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

    r274 r309  
    356356        unsigned dns_port = 0;
    357357
    358         if (!is_daemon) {
    359                 return open_sockets_inetd();
    360         }
    361 
    362358#ifdef HAVE_ATEXIT
    363359        {
     
    369365        }
    370366#endif
     367
     368        if (!is_daemon) {
     369                /*
     370                 * Stop zombies the old way.
     371                 * We aren't forking any new
     372                 * 'normal' connections when
     373                 * run from [x]inetd.
     374                 */
     375                CatchChild();
     376                return open_sockets_inetd();
     377        }
    371378
    372379        /* Stop zombies */
     
    12601267        BlockSignals(False, SIGTERM);
    12611268
     1269        /* Ensure we leave no zombies until we
     1270         * correctly set up child handling below. */
     1271        CatchChild();
     1272
    12621273        /* we want total control over the permissions on created files,
    12631274           so set our umask to 0 */
Note: See TracChangeset for help on using the changeset viewer.