blob: 3ed38159f2a378609acdb6a270e15ce66770bf1c [file] [log] [blame]
type diagdciclient_exec, exec_type, file_type;
userdebug_or_eng(`
type diag_test, domain;
domain_auto_trans(shell, diagdciclient_exec, diag_test)
domain_auto_trans(adbd, diagdciclient_exec, diag_test)
allow diag_test devpts:chr_file getattr;
allow diag_test self:capability dac_override;
allow diag_test diag_device:chr_file {ioctl read write open};
allow diag_test devpts:chr_file {ioctl read write open};
')