Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-3-0]: src/doc Ticket 2004.



details:   https://anonhg.NetBSD.org/src/rev/5ef5ad93eb3f
branches:  netbsd-3-0
changeset: 579526:5ef5ad93eb3f
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Apr 11 06:22:11 2009 +0000

description:
Ticket 2004.

diffstat:

 doc/CHANGES-3.0.4 |  15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r bd9f1e4ac512 -r 5ef5ad93eb3f doc/CHANGES-3.0.4
--- a/doc/CHANGES-3.0.4 Sat Apr 11 06:21:23 2009 +0000
+++ b/doc/CHANGES-3.0.4 Sat Apr 11 06:22:11 2009 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: CHANGES-3.0.4,v 1.1.2.41 2009/03/27 10:45:16 msaitoh Exp $
+#      $NetBSD: CHANGES-3.0.4,v 1.1.2.42 2009/04/11 06:22:11 snj Exp $
 
 A complete list of changes from the NetBSD 3.0.3 release to the NetBSD 3.0.4
 release:
@@ -1257,3 +1257,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]
+



Home | Main Index | Thread Index | Old Index