From b07d504ca4e476d492beb5552344070e4f96464a Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 2 Mar 2012 19:32:56 +1100 Subject: change low FDs are handled in Samba We now only close fds 0, 1, 2 when we are a forked daemon, and take care not to close a file descriptor that we might need for foreground stdin monitoring. This should fix stdout logging in the lsa and epmapper deamons (ie in make test). Andrew Bartlett --- source3/printing/spoolssd.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source3/printing') diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c index 9a5d1b0fef..5775505160 100644 --- a/source3/printing/spoolssd.c +++ b/source3/printing/spoolssd.c @@ -660,9 +660,6 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx, return pid; } - /* child */ - close_low_fds(false); - status = reinit_after_fork(msg_ctx, ev_ctx, true); -- cgit