cvs commit: src/sys/kern sys_generic.c

Bruce M Simpson bms at
Mon Mar 5 11:17:32 UTC 2007

bms         2007-03-05 11:17:31 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/kern             sys_generic.c 
  MFC rev 1.152:
    Do not dispatch SIGPIPE from the generic write path for a socket; with
    this patch the code behaves according to the comment on the line above.
    Without this patch, a socket could cause SIGPIPE to be delivered to its
    process, once with SO_NOSIGPIPE set, and twice without.
  With this patch, the kernel now passes the sigpipe regression test in
  both HEAD and RELENG_6.
  PR:             78478 (the bug fix for this PR introduced this bug)
  Tested by:      Anton Yuzhaninov
  Reviewed by:    jhb
  Revision   Changes    Path  +1 -1      src/sys/kern/sys_generic.c

More information about the cvs-src mailing list