Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/sys Pull up revision 1.21 (requested by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/d743102e1200
branches:  netbsd-1-5
changeset: 491872:d743102e1200
user:      he <he%NetBSD.org@localhost>
date:      Sun Jun 10 18:23:18 2001 +0000

description:
Pull up revision 1.21 (requested by thorpej):
  Change fdalloc() to return ERESTART if reallocation of the
  descriptor array was needed, and change uses to handle that
  condition.  Make finishdup() close the descriptor in the new slot
  if it exists, and change sys_dup2() accordingly.  Closes a race
  condition when using kernel-assisted user threads.

diffstat:

 sys/sys/filedesc.h |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 2c5ba8448d32 -r d743102e1200 sys/sys/filedesc.h
--- a/sys/sys/filedesc.h        Sun Jun 10 18:23:03 2001 +0000
+++ b/sys/sys/filedesc.h        Sun Jun 10 18:23:18 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: filedesc.h,v 1.19 2000/03/23 05:16:12 thorpej Exp $    */
+/*     $NetBSD: filedesc.h,v 1.19.4.1 2001/06/10 18:23:18 he Exp $     */
 
 /*
  * Copyright (c) 1990, 1993
@@ -90,7 +90,6 @@
  * Per-process open flags.
  */
 #define        UF_EXCLOSE      0x01            /* auto-close on exec */
-#define        UF_MAPPED       0x02            /* mapped from device */
 
 /*
  * Storage required per open file descriptor.



Home | Main Index | Thread Index | Old Index