diff options
author | Martijn Coenen <maco@google.com> | 2020-03-23 15:47:33 +0100 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2020-03-23 16:27:24 +0100 |
commit | 0f522bfebf43c214ccf0d940a810058e9f8c0f2c (patch) | |
tree | 2d7773baa36e7110e77fbb41945d1de39d46f3ff /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | b4decfc142806b45adf273865aefdcfbc58b5375 (diff) |
Add (hidden) fixupAppDir() API.
On devices without sdcardfs, filesystem permissions aren't magically
fixed up. This is problematic mostly in application-private directories,
which are owned by the application itself; if another process with
elevated permissions creates a file in these directories, the UID will
be wrong, and the owning package won't be able to access the files.
Allow processes that modify application-private directories (eg
DownloadManager) to ask the framework to fix up permissions on their
behalf.
Bug: 151986170
Test: WIP
Change-Id: Ic30f708d25d7702ec3a4569ee6ddf100732d89d1
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions