diff options
author | Jeff Sharkey <jsharkey@android.com> | 2015-12-16 13:20:37 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2015-12-16 13:20:53 -0700 |
commit | f7aad11c1cc133e352333f83e3abbf323cd41ead (patch) | |
tree | abe5ea1660f2681b8bcd951c57f6bb98fe3c8f95 /libsuspend | |
parent | 85c3bbed4cb66a7829a6f9f402c89cfe15f11625 (diff) | |
download | system_core-f7aad11c1cc133e352333f83e3abbf323cd41ead.zip system_core-f7aad11c1cc133e352333f83e3abbf323cd41ead.tar.gz system_core-f7aad11c1cc133e352333f83e3abbf323cd41ead.tar.bz2 |
Re-derive permissions after package changes.
When packages change, existing package-specific directories may have
gained/lost a UID mapping, so we need to update the permissions for
any in-memory nodes.
This allows an app to deliver data for another package before that
package is installed, which is the typical pattern of how OBB files
are delivered.
Also fix bug by re-deriving permissions when files are moved.
Bug: 25399427
Change-Id: I06f38a24ad7dee5f5099ba81429aef03208e5683
Diffstat (limited to 'libsuspend')
0 files changed, 0 insertions, 0 deletions