Rename sdkext sepolicy to sdkextensions

The module is getting renamed, so rename all the policy
relating to it at the same time.

Bug: 137191822
Test: presubmit
Change-Id: Ia9d966ca9884ce068bd96cf5734e4a459158c85b
Merged-In: Ia9d966ca9884ce068bd96cf5734e4a459158c85b
(cherry picked from commit 6505573c36)
This commit is contained in:
Anton Hansson 2020-01-06 17:29:13 +00:00
parent 3e93ffb62f
commit b84133555a
8 changed files with 18 additions and 18 deletions

View file

@ -27,6 +27,13 @@ filegroup {
],
}
filegroup {
name: "com.android.sdkext-file_contexts",
srcs: [
"com.android.sdkext-file_contexts",
],
}
filegroup {
name: "com.android.art.debug-file_contexts",
srcs: [
@ -132,13 +139,6 @@ filegroup {
],
}
filegroup {
name: "com.android.sdkext-file_contexts",
srcs: [
"com.android.sdkext-file_contexts",
],
}
filegroup {
name: "com.android.telephony-file_contexts",
srcs: [

View file

@ -47,7 +47,7 @@
linker_prop
linkerconfig_file
mock_ota_prop
module_sdkext_prop
module_sdkextensions_prop
ota_metadata_file
ota_prop
art_apex_dir

View file

@ -8,5 +8,5 @@ init_daemon_domain(derive_sdk)
allow derive_sdk apex_mnt_dir:dir r_dir_perms;
# Prop rules: writable by derive_sdk, readable by bootclasspath (apps)
set_prop(derive_sdk, module_sdkext_prop)
neverallow {domain -init -derive_sdk} module_sdkext_prop:property_service set;
set_prop(derive_sdk, module_sdkextensions_prop)
neverallow { domain -init -derive_sdk } module_sdkextensions_prop:property_service set;

View file

@ -45,8 +45,8 @@ get_prop(domain, use_memfd_prop);
# Allow to read properties for linker
get_prop(domain, linker_prop);
# Read access to sdkext props
get_prop(domain, module_sdkext_prop)
# Read access to sdkextensions props
get_prop(domain, module_sdkextensions_prop)
# For now, everyone can access core property files
# Device specific properties are not granted by default

View file

@ -226,5 +226,5 @@ ro.virtual_ab.retrofit u:object_r:virtual_ab_prop:s0
ota.warm_reset u:object_r:ota_prop:s0
# Module properties
com.android.sdkext. u:object_r:module_sdkext_prop:s0
persist.com.android.sdkext. u:object_r:module_sdkext_prop:s0
com.android.sdkext. u:object_r:module_sdkextensions_prop:s0
persist.com.android.sdkext. u:object_r:module_sdkextensions_prop:s0

View file

@ -60,7 +60,7 @@ compatible_property_only(`
# Properties which can't be written outside system
system_restricted_prop(linker_prop)
system_restricted_prop(module_sdkext_prop)
system_restricted_prop(module_sdkextensions_prop)
system_restricted_prop(nnapi_ext_deny_product_prop)
system_restricted_prop(restorecon_prop)
system_restricted_prop(system_boot_reason_prop)
@ -630,7 +630,7 @@ compatible_property_only(`
-heapprofd_prop
-hwservicemanager_prop
-last_boot_reason_prop
-module_sdkext_prop
-module_sdkextensions_prop
-system_lmk_prop
-linker_prop
-log_prop

View file

@ -253,10 +253,10 @@ ro.build.tags u:object_r:exported2_default_prop:s0 exact string
ro.build.user u:object_r:exported2_default_prop:s0 exact string
ro.build.version.base_os u:object_r:exported2_default_prop:s0 exact string
ro.build.version.codename u:object_r:exported2_default_prop:s0 exact string
ro.build.version.extensions. u:object_r:module_sdkextensions_prop:s0 prefix int
ro.build.version.incremental u:object_r:exported2_default_prop:s0 exact string
ro.build.version.preview_sdk u:object_r:exported2_default_prop:s0 exact int
ro.build.version.release u:object_r:exported2_default_prop:s0 exact string
ro.build.version.extensions. u:object_r:module_sdkext_prop:s0 prefix int
ro.build.version.sdk u:object_r:exported2_default_prop:s0 exact int
ro.build.version.security_patch u:object_r:exported2_default_prop:s0 exact string
ro.crypto.state u:object_r:exported_vold_prop:s0 exact string

View file

@ -221,7 +221,7 @@ not_compatible_property(`
-nnapi_ext_deny_product_prop
-init_svc_debug_prop
-linker_prop
-module_sdkext_prop
-module_sdkextensions_prop
-userspace_reboot_exported_prop
-userspace_reboot_prop
-vndk_prop