Module Name:    src
Committed By:   snj
Date:           Sat Apr 11 06:25:48 UTC 2009

Modified Files:
        src/doc [netbsd-3-1]: CHANGES-3.1.2

Log Message:
Ticket 2004.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.38 -r1.1.2.39 src/doc/CHANGES-3.1.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-3.1.2
diff -u src/doc/CHANGES-3.1.2:1.1.2.38 src/doc/CHANGES-3.1.2:1.1.2.39
--- src/doc/CHANGES-3.1.2:1.1.2.38	Fri Mar 27 07:12:52 2009
+++ src/doc/CHANGES-3.1.2	Sat Apr 11 06:25:48 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: CHANGES-3.1.2,v 1.1.2.38 2009/03/27 07:12:52 msaitoh Exp $
+#	$NetBSD: CHANGES-3.1.2,v 1.1.2.39 2009/04/11 06:25:48 snj Exp $
 
 A complete list of changes from the NetBSD 3.1.1 release to the NetBSD 3.1.2
 release:
@@ -1165,3 +1165,16 @@
 	convert getfiles() to use KERN_FILE2 sysctl.
 	Now it can survive "struct file" changing, as is upcoming.
 	[mrg, ticket #2000]
+
+sys/kern/uipc_usrreq.c				patch
+sys/sys/file.h					patch
+
+	Avoid deep recursion and file descriptor exhaustion.
+	1. unp_detach: go not call unp_gc directly for descriptors
+	   that are unixdomain sockets themselves. Instead mark them
+	   for cleanup during garbage collection.
+	2. unp_gc: handle detach of descriptors that were marked earlier.
+	3. prohibit transfer of descriptors within SCM_RIGHTS messages if
+	   (num_files_in_transit > maxfiles / unp_rights_ratio)
+	[mlelstv, ticket #2004]
+

Reply via email to