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
6type preopt2cachename, domain, coredomain;
7type preopt2cachename_exec, system_file_type, exec_type, file_type;
8
9# Allow write to stdout.
10allow preopt2cachename cppreopts:fd use;
11allow preopt2cachename cppreopts:fifo_file { getattr read write };
12
13# Allow write to logcat.
14allow preopt2cachename proc_net_type:file r_file_perms;
15userdebug_or_eng(`
16  auditallow preopt2cachename proc_net_type:{ dir file lnk_file } { getattr open read };
17')
18