Rename data/pkg_staging to data/app-staging

Test: n/a
Bug: 126330086

Change-Id: I34d5085d8e6546d77cc854e27ca849462d482396
Merged-In: I34d5085d8e6546d77cc854e27ca849462d482396
This commit is contained in:
Gavin Corkery 2019-02-27 11:21:20 +00:00
parent bf2ee36db9
commit 64b812c27e
4 changed files with 5 additions and 5 deletions

View file

@ -46,11 +46,11 @@ allow apexd apex_mnt_dir:dir mounton;
# allow apexd to create symlinks in /apex
allow apexd apex_mnt_dir:lnk_file create_file_perms;
# allow apexd to unlink apex files in /data/apex/active
# note that apexd won't be able to unlink files in /data/pkg_staging/session_XXXX,
# note that apexd won't be able to unlink files in /data/app-staging/session_XXXX,
# because it doesn't have write permission for staging_data_file object.
allow apexd staging_data_file:file unlink;
# allow apexd to read files from /data/pkg_staging and hardlink them to /data/apex.
# allow apexd to read files from /data/app-staging and hardlink them to /data/apex.
allow apexd staging_data_file:dir r_dir_perms;
allow apexd staging_data_file:file { r_file_perms link };

View file

@ -456,7 +456,7 @@
/data/preloads/media(/.*)? u:object_r:preloads_media_file:s0
/data/preloads/demo(/.*)? u:object_r:preloads_media_file:s0
/data/server_configurable_flags(/.*)? u:object_r:server_configurable_flags_data_file:s0
/data/pkg_staging(/.*)? u:object_r:staging_data_file:s0
/data/app-staging(/.*)? u:object_r:staging_data_file:s0
# Misc data
/data/misc/adb(/.*)? u:object_r:adb_keys_file:s0

View file

@ -476,7 +476,7 @@ allow system_server wifi_data_file:file create_file_perms;
allow system_server zoneinfo_data_file:dir create_dir_perms;
allow system_server zoneinfo_data_file:file create_file_perms;
# Manage /data/pkg_staging.
# Manage /data/app-staging.
allow system_server staging_data_file:dir create_dir_perms;
allow system_server staging_data_file:file create_file_perms;

View file

@ -279,7 +279,7 @@ type preloads_media_file, file_type, data_file_type, core_data_file_type;
type dhcp_data_file, file_type, data_file_type, core_data_file_type;
# /data/server_configurable_flags
type server_configurable_flags_data_file, file_type, data_file_type, core_data_file_type;
# /data/pkg_staging
# /data/app-staging
type staging_data_file, file_type, data_file_type, core_data_file_type;
# Mount locations managed by vold