Changeset 309 for branches/samba-3.3.x/source/smbd/server.c
- Timestamp:
- Aug 4, 2009, 8:51:22 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/smbd/server.c
r274 r309 356 356 unsigned dns_port = 0; 357 357 358 if (!is_daemon) {359 return open_sockets_inetd();360 }361 362 358 #ifdef HAVE_ATEXIT 363 359 { … … 369 365 } 370 366 #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 } 371 378 372 379 /* Stop zombies */ … … 1260 1267 BlockSignals(False, SIGTERM); 1261 1268 1269 /* Ensure we leave no zombies until we 1270 * correctly set up child handling below. */ 1271 CatchChild(); 1272 1262 1273 /* we want total control over the permissions on created files, 1263 1274 so set our umask to 0 */
Note:
See TracChangeset
for help on using the changeset viewer.