platform_system_sepolicy/preopt2cachename.te
Alex Light b7ebb32fb2 Allow cppreopts to work with selinux
(cherry picked from commit d3edd6b577)

Bug: 29278988
Change-Id: I199572377a6b5c33116c718a545159ddcf50df30
2016-09-12 21:53:27 +00:00

13 lines
469 B
Text

# preopt2cachename executable
#
# This executable translates names from the preopted versions the build system
# creates to the names the runtime expects in the data directory.
type preopt2cachename, domain;
type preopt2cachename_exec, exec_type, file_type;
# Allow write to stdout.
allow preopt2cachename cppreopts:fd use;
allow preopt2cachename cppreopts:fifo_file { getattr read write };
# Allow write to logcat.
allow preopt2cachename proc_net:file r_file_perms;