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

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Apr 21 20:40:10 PDT 2004


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 at 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





More information about the Commits mailing list