Dan Cashman | 8058248 | 2017-12-06 09:20:27 -0800 | [diff] [blame] | 1 | # preopt2cachename executable |
| 2 | # |
| 3 | # This executable translates names from the preopted versions the build system |
| 4 | # creates to the names the runtime expects in the data directory. |
| 5 | type preopt2cachename, domain; |
| 6 | type preopt2cachename_exec, exec_type, file_type; |
| 7 | |
| 8 | # Allow write to stdout. |
| 9 | allow preopt2cachename cppreopts:fd use; |
| 10 | allow preopt2cachename cppreopts:fifo_file { getattr read write }; |
| 11 | |
| 12 | # Allow write to logcat. |
| 13 | allow preopt2cachename proc_net:file r_file_perms; |