Home | History | Annotate | Download | only in sepolicy
      1 # Device types
      2 type device, dev_type, fs_type;
      3 type alarm_device, dev_type, mlstrustedobject;
      4 type adb_device, dev_type;
      5 type ashmem_device, dev_type, mlstrustedobject;
      6 type audio_device, dev_type;
      7 type binder_device, dev_type, mlstrustedobject;
      8 type block_device, dev_type;
      9 type camera_device, dev_type;
     10 type dm_device, dev_type;
     11 type loop_device, dev_type;
     12 type radio_device, dev_type;
     13 type ram_device, dev_type;
     14 type console_device, dev_type;
     15 type cpuctl_device, dev_type;
     16 type fscklogs, dev_type;
     17 type full_device, dev_type;
     18 # GPU (used by most UI apps)
     19 type gpu_device, dev_type, mlstrustedobject;
     20 type graphics_device, dev_type;
     21 type hw_random_device, dev_type;
     22 type input_device, dev_type;
     23 type kmem_device, dev_type;
     24 type log_device, dev_type, mlstrustedobject;
     25 type mtd_device, dev_type;
     26 type mtp_device, dev_type, mlstrustedobject;
     27 type nfc_device, dev_type;
     28 type ptmx_device, dev_type, mlstrustedobject;
     29 type kmsg_device, dev_type;
     30 type null_device, dev_type, mlstrustedobject;
     31 type random_device, dev_type;
     32 type sensors_device, dev_type;
     33 type serial_device, dev_type;
     34 type socket_device, dev_type;
     35 type owntty_device, dev_type, mlstrustedobject;
     36 type tty_device, dev_type;
     37 type urandom_device, dev_type;
     38 type video_device, dev_type;
     39 type vcs_device, dev_type;
     40 type zero_device, dev_type;
     41 type fuse_device, dev_type;
     42 type iio_device, dev_type;
     43 type ion_device, dev_type, mlstrustedobject;
     44 type gps_device, dev_type;
     45 type qtaguid_device, dev_type;
     46 type watchdog_device, dev_type;
     47 type uhid_device, dev_type;
     48 type uio_device, dev_type;
     49 type tun_device, dev_type, mlstrustedobject;
     50 type usbaccessory_device, dev_type;
     51 type usb_device, dev_type;
     52 type klog_device, dev_type;
     53 type properties_device, dev_type;
     54 
     55 # All devices have a uart for the hci
     56 # attach service. The uart dev node
     57 # varies per device. This type
     58 # is used in per device policy
     59 type hci_attach_dev, dev_type;
     60 
     61 # All devices have a rpmsg device for
     62 # achieving remoteproc and rpmsg modules
     63 type rpmsg_device, dev_type;
     64 
     65 # Partition layout block device
     66 type root_block_device, dev_type;
     67 
     68 # factory reset protection block device
     69 type frp_block_device, dev_type;
     70