239c85dd0d
This does not yet list all the required capabilities for profcollectd, but it at least allows the service to start under permissive mode. Bug: 79161490 Test: start profcollectd Change-Id: I92c6192fa9b31840b2aba26f83a6dc9f9e835030
15 lines
565 B
Text
15 lines
565 B
Text
# profcollectd - hardware profile collection daemon
|
|
type profcollectd, domain, coredomain;
|
|
type profcollectd_exec, system_file_type, exec_type, file_type;
|
|
|
|
userdebug_or_eng(`
|
|
init_daemon_domain(profcollectd)
|
|
|
|
# profcollectd opens a file for writing in /data/misc/profcollectd
|
|
allow profcollectd profcollectd_data_file:file create_file_perms;
|
|
allow profcollectd profcollectd_data_file:dir rw_dir_perms;
|
|
|
|
# Allow profcollectd to publish a binder service and make binder calls.
|
|
binder_use(profcollectd)
|
|
add_service(profcollectd, profcollectd_service)
|
|
')
|