cvs commit: src/sys/kern sysv_sem.c

Konstantin Belousov kib at
Tue Jul 3 15:58:49 UTC 2007

kib         2007-07-03 15:58:48 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sysv_sem.c 
  Relock the sema_mtxp unconditionally after copyin() for SETALL case in
  kern_semctl. Otherwise, later mtx_unlock() can operate on unlocked mutex.
  Submitted by:   rdivacky
  MFC after:      3 days
  Approved by:    re (kensmith)
  Revision  Changes    Path
  1.89      +1 -1      src/sys/kern/sysv_sem.c

More information about the cvs-src mailing list