Augustin Cavalier c2cbf95810 kernel: Add and fix ownership checks in mutex_destroy and mutex_transfer.
* mutex_destroy() only checked wether or not there were waiters,
   not if the lock itself was presently held by another thread.
   Now we do, which should make #15015 panic much earlier instead
   of trying to use freed memory.
 * mutex_transfer_lock() and recursive_lock_transfer_lock() did
   not check that the calling thread actually owned the lock.
   Now it does, which should trigger asserts if anyone tries
   to do this.
2019-05-02 16:07:39 -04:00
..
2019-02-21 17:36:55 +01:00
2018-08-20 16:44:20 -04:00
2019-02-19 18:33:25 +00:00
2019-01-09 17:44:19 +00:00
2018-03-07 18:04:31 -05:00