Home | History | Annotate | Download | only in sepolicy
      1 # profman
      2 type profman, domain;
      3 type profman_exec, exec_type, file_type;
      4 
      5 allow profman user_profile_data_file:file { getattr read write lock };
      6 
      7 # Dumping profile info opens the application APK file for pretty printing.
      8 allow profman asec_apk_file:file { read };
      9 allow profman apk_data_file:file { read };
     10 allow profman oemfs:file { read };
     11 # Reading an APK opens a ZipArchive, which unpack to tmpfs.
     12 allow profman tmpfs:file { read };
     13 allow profman profman_dump_data_file:file { write };
     14 
     15 allow profman installd:fd use;
     16 
     17 neverallow profman app_data_file:notdevfile_class_set open;
     18