1 ###################################### 2 # Attribute declarations 3 # 4 5 # All types used for devices. 6 attribute dev_type; 7 8 # All types used for processes. 9 attribute domain; 10 11 # All types used for filesystems. 12 attribute fs_type; 13 14 # All types used for context= mounts. 15 attribute contextmount_type; 16 17 # All types used for files that can exist on a labeled fs. 18 # Do not use for pseudo file types. 19 attribute file_type; 20 21 # All types used for domain entry points. 22 attribute exec_type; 23 24 # All types used for /data files. 25 attribute data_file_type; 26 27 # All types use for sysfs files. 28 attribute sysfs_type; 29 30 # Attribute used for all sdcards 31 attribute sdcard_type; 32 33 # All types used for nodes/hosts. 34 attribute node_type; 35 36 # All types used for network interfaces. 37 attribute netif_type; 38 39 # All types used for network ports. 40 attribute port_type; 41 42 # All types used for property service 43 attribute property_type; 44 45 # All service_manager types created by system_server 46 attribute system_server_service; 47 48 # services which should be available to all but isolated apps 49 attribute app_api_service; 50 51 # services which export only system_api 52 attribute system_api_service; 53 54 # All types used for services managed by service_manager. 55 attribute service_manager_type; 56 57 # All domains that can override MLS restrictions. 58 # i.e. processes that can read up and write down. 59 attribute mlstrustedsubject; 60 61 # All types that can override MLS restrictions. 62 # i.e. files that can be read by lower and written by higher 63 attribute mlstrustedobject; 64 65 # All domains used for apps. 66 attribute appdomain; 67 68 # All domains used for apps with network access. 69 attribute netdomain; 70 71 # All domains used for apps with bluetooth access. 72 attribute bluetoothdomain; 73 74 # All domains used for binder service domains. 75 attribute binderservicedomain; 76