commit | af3ca33f612a764301fb294513320091c23a2966 | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Mar 21 18:15:05 2016 -0700 |
committer | Nick Kralevich <nnk@google.com> | Tue Mar 22 10:03:41 2016 -0700 |
tree | 4af5ae94b4c4db61a94566345db0970d54cbbe88 | |
parent | 0792d8a0f22ed444d2dc49e5bffa3c0e436c6ac5 [diff] |
global_macros: Allow directory locking See https://groups.google.com/d/msg/android-ndk/BbEOA9pnR-I/HgLkGy5qAgAJ Addresses the following denial: avc: denied { lock } for path="/data/data/com.mypackage/files/somefilename" dev="mmcblk0p28" ino=114736 scontext=u:r:untrusted_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c512,c768 tclass=dir permissive=0 While I'm here, also add lock to w_file_perms. (cherrypicked from commit 4ee494cce1670e6883fb56cea96aa6bab10a4523) Change-Id: I2568a228099c4e112e4a8b80da3bfcf2e35eb0ea