platform_system_sepolicy/prebuilts/api/29.0/private/preopt2cachename.te
Ian Pedowitz 94b7372534 SEPolicy Prebuilts for Q
Bug: 129943426
Test: Build
Change-Id: I3e091652fa8d1757b1f71f7559186d5b32f000d5
2019-05-14 21:42:22 -07:00

17 lines
616 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, coredomain;
type preopt2cachename_exec, system_file_type, 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_type:file r_file_perms;
userdebug_or_eng(`
auditallow preopt2cachename proc_net_type:{ dir file lnk_file } { getattr open read };
')