Konstantin Belousov 9f4ba450f2 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
2010-12-03 20:39:06 +00:00
..
2010-08-30 14:26:02 +00:00
2010-11-22 15:28:54 +00:00
2010-11-25 20:05:11 +00:00
2010-11-14 16:10:15 +00:00
2010-11-13 11:54:04 +00:00
2010-10-29 19:07:36 +00:00
2010-12-02 04:28:01 +00:00
2010-11-14 16:10:15 +00:00
2010-11-09 10:59:09 +00:00
2010-07-09 10:57:55 +00:00
2010-08-30 14:26:02 +00:00
2010-08-30 14:26:02 +00:00
2010-01-04 20:59:52 +00:00
2009-05-26 09:19:21 +00:00
2010-11-14 16:10:15 +00:00
2010-06-26 21:44:45 +00:00