commit | aa04e818a4904b193e00d603785c93e888eab174 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Aug 30 10:26:15 2013 -0700 |
committer | Jeff Sharkey <jsharkey@android.com> | Fri Aug 30 10:28:21 2013 -0700 |
tree | 60693064ef0b2e0846bbc14e3c4f970f47f0a152 | |
parent | 7e18e45617b73c7a4081202115bb8e5a06ebb1c7 [diff] |
Fix recursive locking bug. handle_rename() would end up acquiring the lock twice. Change to always derive has_rw inside earlier locks (instead of acquiring a second time), and pass the value into check_caller_access_to_name(). Bug: 10547597 Change-Id: If5744d6d226a4785676c19d0f7fdf1c05060ed76