On Thu, Aug 22, 2002 at 09:04:39AM +0200, Fredrik Ohrn wrote: > OK, I put this at the top of the while loop in smbd_process: > > sigset_t dummy_mask, blocked_mask; > > sigemptyset (&dummy_mask); > sigemptyset (&blocked_mask); > sigprocmask (SIG_BLOCK, &dummy_mask, &blocked_mask); > DEBUG (0, ("SIGPIPE is %s\n", sigismember (&blocked_mask, SIGPIPE) ? "blocked" : >"nonblocked" )); > > > The signal gets unblocked right after I connect to the share. > > Below is the log (at level 4), it got a bit large so I added some ** marks > at the SIGPIPE is blocked/nonblocked messages. > > I'll go through the code tonight and add more debug messages to try to > pinpoint the exact place the signal is unmasked.
Great - thanks. Maybe a debug level 10 may help pinpoint this ? I'm not seeing this on my system, neither is tridge or others here at the CIFS conference. Jeremy.