Rename data/pkg_staging to data/app-staging
am: 64b812c27e
Change-Id: Iff8229e4a121c345e294efa2d4e87be9e80d2ec4
This commit is contained in:
commit
9058a1d46d
4 changed files with 5 additions and 5 deletions
|
@ -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 };
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue