blob: 390f83e62a2641381eaeba0886ed4768e5ca56ff [file] [log] [blame]
Alex Klyubinf5446eb2017-03-23 14:27:32 -07001typeattribute profman coredomain;
Jiakai Zhangc871c1c2022-07-19 21:29:31 +01002
3# Allow profman to read APKs and profile files next to them by FDs passed from
4# other programs. In addition, allow profman to acquire flocks on those files.
5allow profman {
6 system_file
7 apk_data_file
8 vendor_app_file
9}:file { getattr read map lock };
10
11# Allow profman to use file descriptors passed from privileged programs.
12allow profman { artd installd }:fd use;