DragonFly BSD
DragonFly commits List (threaded) for 2004-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/i386/i386 sys_machdep.c


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 21 Apr 2004 20:39:43 -0700 (PDT)

dillon      2004/04/21 20:39:43 PDT

DragonFly src repository

  Modified files:
    sys/i386/i386        sys_machdep.c 
  Log:
  Fix a race in user_ldt_free() against an interrupt (which attempts to
  save and restore the ldt) while it is being freed.  Reorder the free and use
  a critical section to prevent the race.
  
  Reported-by: Andrew Atrens <atrens@xxxxxxxxxxxxxxxxxx>
  
  Revision  Changes    Path
  1.14      +5 -1      src/sys/i386/i386/sys_machdep.c


http://www.dragonflybsd.org/cvsweb/src/sys/i386/i386/sys_machdep.c.diff?r1=1.13&r2=1.14&f=h



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