1type scd, domain;
2type scd_exec, vendor_file_type, exec_type, file_type;
3init_daemon_domain(scd)
4
5# Allow scd access PixelLogger unix socket in debug build only
6userdebug_or_eng(`
7    typeattribute scd mlstrustedsubject;
8    allow scd logger_app:unix_stream_socket connectto;
9')
10
11# Allow a base set of permissions required for network access.
12net_domain(scd);
13
14# Allow scd access data vendor gps files
15allow scd vendor_gps_file:dir create_dir_perms;
16allow scd vendor_gps_file:file create_file_perms;
17allow scd vendor_gps_file:fifo_file create_file_perms;
18