android_system_sepolicy/public/aidl_lazy_test_server.te
Jon Spivack ae2df6b5de Add aidl_lazy_test_server
This is a test service for testing dynamic start/stop of AIDL services. In order to test realistic use cases with SELinux enabled, it requires the same permissions as a regular service.

Bug: 147153962
Test: aidl_lazy_test aidl_lazy_test_1 aidl_lazy_test_2
Change-Id: Ifc3b2eaefba9c06c94f9cf24b4474107d4e26563
2020-01-07 15:11:03 -08:00

10 lines
288 B
Plaintext

type aidl_lazy_test_server, domain;
type aidl_lazy_test_server_exec, exec_type, file_type, system_file_type;
userdebug_or_eng(`
binder_use(aidl_lazy_test_server)
binder_call(aidl_lazy_test_server, binderservicedomain)
add_service(aidl_lazy_test_server, aidl_lazy_test_service)
')