Home | History | Annotate | Download | only in sepolicy
      1 # Device types
      2 type device, dev_type, fs_type;
      3 type akm_device, dev_type;
      4 type accelerometer_device, dev_type;
      5 type alarm_device, dev_type, mlstrustedobject;
      6 type adb_device, dev_type;
      7 type ashmem_device, dev_type, mlstrustedobject;
      8 type audio_device, dev_type;
      9 type binder_device, dev_type, mlstrustedobject;
     10 type block_device, dev_type;
     11 type camera_device, dev_type;
     12 type dm_device, dev_type;
     13 type loop_device, dev_type;
     14 type radio_device, dev_type;
     15 type ram_device, dev_type;
     16 type console_device, dev_type;
     17 type cpuctl_device, dev_type;
     18 type full_device, dev_type;
     19 type graphics_device, dev_type;
     20 type input_device, dev_type;
     21 type kmem_device, dev_type;
     22 type log_device, dev_type, mlstrustedobject;
     23 type mtd_device, dev_type;
     24 type mtp_device, dev_type, mlstrustedobject;
     25 type nfc_device, dev_type;
     26 type nv_device, dev_type, mlstrustedobject;
     27 type powervr_device, dev_type, mlstrustedobject;
     28 type ptmx_device, dev_type, mlstrustedobject;
     29 type qemu_device, dev_type;
     30 type kmsg_device, dev_type;
     31 type null_device, dev_type, mlstrustedobject;
     32 type random_device, dev_type;
     33 type sensors_device, dev_type;
     34 type serial_device, dev_type;
     35 type socket_device, dev_type;
     36 type owntty_device, dev_type, mlstrustedobject;
     37 type tty_device, dev_type;
     38 type urandom_device, dev_type;
     39 type video_device, dev_type;
     40 type vcs_device, dev_type;
     41 type zero_device, dev_type;
     42 type fuse_device, dev_type;
     43 type iio_device, dev_type;
     44 type ion_device, dev_type, mlstrustedobject;
     45 type gps_device, dev_type;
     46 type qtaguid_device, dev_type;
     47 type watchdog_device, dev_type;
     48 type uhid_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