commit | ec0639a58a8c018dd8742762f1c4899e013ffc65 | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Fri Aug 30 10:26:15 2013 -0700 |
committer | The Android Automerger <android-build@google.com> | Fri Aug 30 14:13:23 2013 -0700 |
tree | 603f13c762828a694f1f9c31f3837a96b4edf5ca | |
parent | 5f39562466688da2f6a0d6fc1588e8a3f5c54971 [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