platform_system_sepolicy/preopt2cachename.te
Alex Light d3edd6b577 Allow cppreopts to work with selinux
Bug: 29278988
Change-Id: I199572377a6b5c33116c718a545159ddcf50df30
2016-06-28 15:58:12 -07: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;