Changeset 335 for branches/samba-3.2.x/source/smbd/server.c
- Timestamp:
- Sep 24, 2009, 9:15:13 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/smbd/server.c
r233 r335 349 349 unsigned dns_port = 0; 350 350 351 if (!is_daemon) {352 return open_sockets_inetd();353 }354 355 351 #ifdef HAVE_ATEXIT 356 352 { … … 362 358 } 363 359 #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 } 364 371 365 372 /* Stop zombies */ … … 1207 1214 BlockSignals(False, SIGTERM); 1208 1215 1216 /* Ensure we leave no zombies until we 1217 * correctly set up child handling below. */ 1218 CatchChild(); 1219 1209 1220 /* we want total control over the permissions on created files, 1210 1221 so set our umask to 0 */
Note:
See TracChangeset
for help on using the changeset viewer.