Merge "Add sepolicy for new module."

This commit is contained in:
Amos Bianchi 2022-09-26 14:48:39 +00:00 committed by Gerrit Code Review
commit 8070ba00a7
6 changed files with 12 additions and 0 deletions

View file

@ -286,3 +286,10 @@ filegroup {
"com.android.rkpd-file_contexts",
],
}
filegroup {
name: "com.android.devicelock-file_contexts",
srcs: [
"com.android.devicelock-file_contexts",
],
}

View file

@ -0,0 +1 @@
(/.*)? u:object_r:system_file:s0

View file

@ -180,6 +180,7 @@ var (
"device_policy": []string{},
"device_identifiers": []string{},
"deviceidle": []string{},
"device_lock": []string{},
"device_state": []string{},
"devicestoragemonitor": []string{},
"diskstats": []string{},

View file

@ -10,6 +10,7 @@
credential_service
device_config_memory_safety_native_prop
device_config_vendor_system_native_prop
devicelock_service
hal_bootctl_service
hal_remoteaccess_service
hal_tv_input_service

View file

@ -165,6 +165,7 @@ device_config u:object_r:device_config_service:s0
device_policy u:object_r:device_policy_service:s0
device_identifiers u:object_r:device_identifiers_service:s0
deviceidle u:object_r:deviceidle_service:s0
device_lock u:object_r:devicelock_service:s0
device_state u:object_r:device_state_service:s0
devicestoragemonitor u:object_r:devicestoragemonitor_service:s0
diskstats u:object_r:diskstats_service:s0

View file

@ -120,6 +120,7 @@ type file_integrity_service, app_api_service, system_server_service, service_man
type font_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type netd_listener_service, system_server_service, service_manager_type;
type network_watchlist_service, system_server_service, service_manager_type;
type devicelock_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type DockObserver_service, system_server_service, service_manager_type;
type dreams_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;
type dropbox_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;