diff options
author | Jeff Sharkey <jsharkey@android.com> | 2013-08-30 10:26:15 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2013-08-30 10:28:21 -0700 |
commit | aa04e818a4904b193e00d603785c93e888eab174 (patch) | |
tree | 60693064ef0b2e0846bbc14e3c4f970f47f0a152 /libutils/ProcessCallStack.cpp | |
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
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions