mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 07:50:47 +00:00
Bug: 36463595 Test: lunch walleye-userdebug && make -j48 sepolicy Change-Id: Idbc83b06edcb3eb2ea548a16ed93f711cda150c1 Signed-off-by: Sandeep Patil <sspatil@google.com>
25 lines
799 B
Plaintext
25 lines
799 B
Plaintext
type folio_daemon, domain;
|
|
type folio_daemon_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(folio_daemon)
|
|
|
|
allow folio_daemon binder_device:chr_file rw_file_perms;
|
|
allow folio_daemon uhid_device:chr_file rw_file_perms;
|
|
|
|
# TODO(b/35870313): Remove this attribute when the corresponding bug is fixed and the treble
|
|
# violations are handled
|
|
typeattribute folio_daemon binder_in_vendor_violators;
|
|
typeattribute folio_daemon socket_between_core_and_vendor_violators;
|
|
|
|
allow folio_daemon system_server:unix_stream_socket rw_socket_perms_no_ioctl;
|
|
|
|
binder_use(folio_daemon)
|
|
binder_call(folio_daemon, system_server)
|
|
|
|
allow folio_daemon sensorservice_service:service_manager find;
|
|
allow folio_daemon permission_service:service_manager find;
|
|
|
|
userdebug_or_eng(`
|
|
permissive folio_daemon;
|
|
')
|