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

Konstantin Belousov kib at FreeBSD.org
Fri Sep 12 09:51:25 UTC 2008


kib         2008-09-12 09:51:11 UTC

  FreeBSD src repository

  Modified files:
    sys/i386/i386        sys_machdep.c 
  Log:
  SVN rev 182960 on 2008-09-12 09:51:11Z by kib
  
  The user_ldt_alloc() function shall return with dt_lock locked.
  The user_ldt_free() function shall return with dt_lock unlocked.
  Error handling code in both functions do not handle this, fix it by
  doing necessary lock/unlock.
  
  While there, fix minor style nits.
  
  MFC after:      1 week
  
  Revision  Changes    Path
  1.116     +9 -5      src/sys/i386/i386/sys_machdep.c


More information about the cvs-src mailing list