Add sepolicy for new module.

Bug: b/241442337
Test: TH
Change-Id: Ia58e2d4b205638509545a0a2c356cd68862beb1f
This commit is contained in:
Amos Bianchi 2022-09-23 10:27:50 -07:00
parent f4382c5391
commit 3189fafa2a
6 changed files with 12 additions and 0 deletions

View file

@ -286,3 +286,10 @@ filegroup {
"com.android.rkpd-file_contexts", "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_policy": []string{},
"device_identifiers": []string{}, "device_identifiers": []string{},
"deviceidle": []string{}, "deviceidle": []string{},
"device_lock": []string{},
"device_state": []string{}, "device_state": []string{},
"devicestoragemonitor": []string{}, "devicestoragemonitor": []string{},
"diskstats": []string{}, "diskstats": []string{},

View file

@ -10,6 +10,7 @@
credential_service credential_service
device_config_memory_safety_native_prop device_config_memory_safety_native_prop
device_config_vendor_system_native_prop device_config_vendor_system_native_prop
devicelock_service
hal_bootctl_service hal_bootctl_service
hal_remoteaccess_service hal_remoteaccess_service
hal_tv_input_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_policy u:object_r:device_policy_service:s0
device_identifiers u:object_r:device_identifiers_service:s0 device_identifiers u:object_r:device_identifiers_service:s0
deviceidle u:object_r:deviceidle_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 device_state u:object_r:device_state_service:s0
devicestoragemonitor u:object_r:devicestoragemonitor_service:s0 devicestoragemonitor u:object_r:devicestoragemonitor_service:s0
diskstats u:object_r:diskstats_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 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 netd_listener_service, system_server_service, service_manager_type;
type network_watchlist_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 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 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; type dropbox_service, app_api_service, ephemeral_app_api_service, system_server_service, service_manager_type;