Module Name: src
Committed By: snj
Date: Fri Apr 10 20:35:58 UTC 2009
Modified Files:
src/doc [netbsd-4-0]: CHANGES-4.0.2
Log Message:
Ticket 1303.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.22 -r1.1.2.23 src/doc/CHANGES-4.0.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-4.0.2
diff -u src/doc/CHANGES-4.0.2:1.1.2.22 src/doc/CHANGES-4.0.2:1.1.2.23
--- src/doc/CHANGES-4.0.2:1.1.2.22 Tue Mar 31 21:15:07 2009
+++ src/doc/CHANGES-4.0.2 Fri Apr 10 20:35:58 2009
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-4.0.2,v 1.1.2.22 2009/03/31 21:15:07 bouyer Exp $
+# $NetBSD: CHANGES-4.0.2,v 1.1.2.23 2009/04/10 20:35:58 snj Exp $
A complete list of changes from the NetBSD 4.0.1 release to the NetBSD 4.0.2
release:
@@ -183,3 +183,15 @@
internalize bad xml file with non-existing data type e.g. <number>.
[haad, ticket #1296]
+sys/sys/file.h patch
+sys/kern/uipc_usrreq.c 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 #1303]
+