2014-06-21 03:11:11 +02:00
|
|
|
# vdc spawned from init for the following services:
|
|
|
|
# defaultcrypto
|
|
|
|
# encrypt
|
2014-06-25 21:30:11 +02:00
|
|
|
#
|
|
|
|
# We also transition into this domain from dumpstate, when
|
|
|
|
# collecting bug reports.
|
2014-06-21 03:11:11 +02:00
|
|
|
|
2016-12-10 04:30:39 +01:00
|
|
|
type vdc, domain;
|
2014-06-21 03:11:11 +02:00
|
|
|
type vdc_exec, exec_type, file_type;
|
|
|
|
|
2016-02-04 23:18:52 +01:00
|
|
|
# vdc can be invoked with logwrapper, so let it write to pty
|
|
|
|
allow vdc devpts:chr_file rw_file_perms;
|
2017-03-30 01:52:19 +02:00
|
|
|
|
|
|
|
# vdc writes directly to kmsg during the boot process
|
|
|
|
allow vdc kmsg_device:chr_file w_file_perms;
|
2017-09-14 21:19:20 +02:00
|
|
|
|
|
|
|
# vdc talks to vold over Binder
|
|
|
|
binder_use(vdc)
|
|
|
|
binder_call(vdc, vold)
|
|
|
|
allow vdc vold_service:service_manager find;
|