2016-02-01 20:28:39 +01:00
|
|
|
# profman
|
|
|
|
type profman, domain;
|
|
|
|
type profman_exec, exec_type, file_type;
|
|
|
|
|
2016-11-08 18:08:55 +01:00
|
|
|
allow profman libart_file:file r_file_perms;
|
|
|
|
|
2016-03-28 15:21:39 +02:00
|
|
|
allow profman user_profile_data_file:file { getattr read write lock };
|
2016-02-01 20:28:39 +01:00
|
|
|
|
2016-06-02 19:47:02 +02:00
|
|
|
# Dumping profile info opens the application APK file for pretty printing.
|
|
|
|
allow profman asec_apk_file:file { read };
|
|
|
|
allow profman apk_data_file:file { read };
|
|
|
|
allow profman oemfs:file { read };
|
|
|
|
# Reading an APK opens a ZipArchive, which unpack to tmpfs.
|
|
|
|
allow profman tmpfs:file { read };
|
2016-05-27 21:41:35 +02:00
|
|
|
allow profman profman_dump_data_file:file { write };
|
|
|
|
|
2016-02-01 20:28:39 +01:00
|
|
|
allow profman installd:fd use;
|
|
|
|
|
2016-11-08 18:08:55 +01:00
|
|
|
###
|
|
|
|
### neverallow rules
|
|
|
|
###
|
|
|
|
|
2016-02-01 20:28:39 +01:00
|
|
|
neverallow profman app_data_file:notdevfile_class_set open;
|