Branch zuma from gs201 sha1 63751751aa91275b083797278d638078b3a0bf7a cp/pantah/ripcurrent cp/gs201/zuma Bug: 229340586 Change-Id: Ie692d8dbbf0fc4d3b376dc9fe3e930bd3955a88e Signed-off-by: Aaron Ding <aaronding@google.com>
17 lines
555 B
Text
17 lines
555 B
Text
type scd, domain;
|
|
type scd_exec, vendor_file_type, exec_type, file_type;
|
|
init_daemon_domain(scd)
|
|
|
|
# Allow scd access PixelLogger unix socket in debug build only
|
|
userdebug_or_eng(`
|
|
typeattribute scd mlstrustedsubject;
|
|
allow scd logger_app:unix_stream_socket connectto;
|
|
')
|
|
|
|
# Allow a base set of permissions required for network access.
|
|
net_domain(scd);
|
|
|
|
# Allow scd access data vendor gps files
|
|
allow scd vendor_gps_file:dir create_dir_perms;
|
|
allow scd vendor_gps_file:file create_file_perms;
|
|
allow scd vendor_gps_file:fifo_file create_file_perms;
|