diff --git a/procrank.te b/procrank.te index 06b33f8d8..680d5490b 100644 --- a/procrank.te +++ b/procrank.te @@ -5,9 +5,11 @@ userdebug_or_eng(` type procrank, domain, mlstrustedsubject; domain_auto_trans(shell, procrank_exec, procrank) + domain_auto_trans(dumpstate, procrank_exec, procrank) allow procrank self:capability sys_ptrace; allow procrank devpts:chr_file { read write getattr ioctl }; + allow procrank dumpstate:unix_stream_socket { read write getattr }; r_dir_file(procrank, domain) - allow procrank shell:fd use; + allow procrank { shell dumpstate }:fd use; allow procrank adbd:process sigchld; ')