blob: 7c85a9f8a6cd7746117523f58e4f80a56e0333a5 [file] [log] [blame]
Andreas Gampe4abfe602019-02-21 16:11:27 -08001# 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.
5type preopt2cachename, domain;
6type preopt2cachename_exec, system_file_type, exec_type, file_type;
7
Alex Klyubinf5446eb2017-03-23 14:27:32 -07008typeattribute preopt2cachename coredomain;
Andreas Gampe4abfe602019-02-21 16:11:27 -08009
10# Allow write to stdout.
11allow preopt2cachename cppreopts:fd use;
12allow preopt2cachename cppreopts:fifo_file { getattr read write };
13
14# Allow write to logcat.
15allow preopt2cachename proc_net_type:file r_file_perms;
16userdebug_or_eng(`
17 auditallow preopt2cachename proc_net_type:{ dir file lnk_file } { getattr open read };
18')