2017-03-23 22:27:32 +01:00
|
|
|
typeattribute vdc coredomain;
|
|
|
|
|
2016-07-22 22:13:11 +02:00
|
|
|
init_daemon_domain(vdc)
|
2021-06-01 22:13:02 +02:00
|
|
|
|
|
|
|
# Allow stdin/out back to vehicle_binding_util
|
|
|
|
allow vdc vehicle_binding_util:fd use;
|
2024-03-27 09:18:41 +01:00
|
|
|
|
|
|
|
# vdc can be invoked with logwrapper, so let it write to pty
|
|
|
|
allow vdc devpts:chr_file rw_file_perms;
|
|
|
|
|
|
|
|
# vdc writes directly to kmsg during the boot process
|
|
|
|
allow vdc kmsg_device:chr_file { getattr w_file_perms };
|
|
|
|
|
|
|
|
# vdc talks to vold over Binder
|
|
|
|
binder_use(vdc)
|
|
|
|
binder_call(vdc, vold)
|
|
|
|
allow vdc vold_service:service_manager find;
|