commit | f1121dc1d35c7e8c317c278aad0dd4ad1358d870 | [log] [tgz] |
---|---|---|
author | Kenny Root <kroot@google.com> | Wed Sep 29 07:30:53 2010 -0700 |
committer | Kenny Root <kroot@google.com> | Wed Sep 29 07:38:55 2010 -0700 |
tree | 328181f28c37eb9113ad04035f9dfa70a1df2ad0 | |
parent | 05105f7abe02b2dff91d6260b3628c8b97816bab [diff] |
Move all the permissions check up for unmount We have already scanned the state of the OBB in mountObb, so check the caller against the stored state in the unmountObb call. This allows us to ensure the calling binder is the same one that mounted it since we tie the lifecycle of the OBB to the lifecycle of the binder. Change-Id: I45d9cfbab5d3f5b37a6a9b594b10bd8b91cccc45