Allow access to /dev/ion and proc_net dir.

am: 8666bf25cf

* commit '8666bf25cf5de7c0bddfe858342dabfeea5ff823':
  Allow access to /dev/ion and proc_net dir.
This commit is contained in:
dcashman 2016-01-22 18:08:07 +00:00 committed by android-build-merger
commit 09f01c5f1d
2 changed files with 3 additions and 0 deletions

2
app.te
View file

@ -204,6 +204,8 @@ use_keystore({ appdomain -isolated_app })
allow appdomain console_device:chr_file { read write }; allow appdomain console_device:chr_file { read write };
allow { appdomain -isolated_app } ion_device:chr_file rw_file_perms;
### ###
### CTS-specific rules ### CTS-specific rules
### ###

View file

@ -23,6 +23,7 @@ allow domain self:process {
}; };
allow domain self:fd use; allow domain self:fd use;
allow domain proc:dir search; allow domain proc:dir search;
allow domain proc_net:dir search;
allow domain self:dir r_dir_perms; allow domain self:dir r_dir_perms;
allow domain self:lnk_file r_file_perms; allow domain self:lnk_file r_file_perms;
allow domain self:{ fifo_file file } rw_file_perms; allow domain self:{ fifo_file file } rw_file_perms;