Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Dec 2010 20:39:06 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/kern uipc_usrreq.c
Message-ID:  <201012032039.oB3KdR10073523@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
kib         2010-12-03 20:39:06 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             uipc_usrreq.c 
  Log:
  SVN rev 216158 on 2010-12-03 20:39:06Z by kib
  
  Trim whitespaces at the end of lines. Use the commit to record
  proper log message for r216150.
  
  MFC after:      1 week
  
  If unix socket has a unix socket attached as the rights that has a
  unix socket attached as the rights that has a unix socket attached as
  the rights ... Kernel may overflow the stack on attempt to close such
  socket.
  
  Only close the rights file in the context of the current close if the
  file is not unix domain socket. Otherwise, postpone the work to
  taskqueue, preventing unlimited recursion.
  
  The pass of the unix domain sockets over the SCM_RIGHTS message
  control is not widely used, and more, the close of the socket with
  still attached rights is mostly an application failure. The change
  should not affect the performance of typical users of SCM_RIGHTS.
  
  Reviewed by:    jeff, rwatson
  
  Revision  Changes    Path
  1.240     +2 -2      src/sys/kern/uipc_usrreq.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012032039.oB3KdR10073523>