Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 1 | # Device types |
| 2 | type device, dev_type, fs_type; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 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; |
Stephen Smalley | af47ebb | 2013-11-04 09:47:29 -0500 | [diff] [blame] | 16 | type fscklogs, dev_type; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 17 | type full_device, dev_type; |
Stephen Smalley | 3ba9012 | 2013-12-12 09:09:53 -0500 | [diff] [blame] | 18 | # GPU (used by most UI apps) |
| 19 | type gpu_device, dev_type, mlstrustedobject; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 20 | type graphics_device, dev_type; |
Alex Klyubin | 8d68831 | 2013-10-03 13:35:56 -0700 | [diff] [blame] | 21 | type hw_random_device, dev_type; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 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; |
Stephen Smalley | c94e239 | 2012-01-06 10:25:53 -0500 | [diff] [blame] | 26 | type mtp_device, dev_type, mlstrustedobject; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 27 | type nfc_device, dev_type; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 28 | type ptmx_device, dev_type, mlstrustedobject; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 29 | type kmsg_device, dev_type; |
| 30 | type null_device, dev_type, mlstrustedobject; |
| 31 | type random_device, dev_type; |
Robert Craig | 65d4f44 | 2013-03-27 06:30:25 -0400 | [diff] [blame] | 32 | type sensors_device, dev_type; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 33 | type serial_device, dev_type; |
| 34 | type socket_device, dev_type; |
Stephen Smalley | 74ba8c8 | 2013-04-05 14:22:27 -0400 | [diff] [blame] | 35 | type owntty_device, dev_type, mlstrustedobject; |
Stephen Smalley | 2dd4e51 | 2012-01-04 12:33:27 -0500 | [diff] [blame] | 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; |
William Roberts | 80ea1d2 | 2012-05-31 09:44:51 -0400 | [diff] [blame] | 41 | type fuse_device, dev_type; |
Robert Craig | f62af81 | 2013-01-30 13:17:14 -0500 | [diff] [blame] | 42 | type iio_device, dev_type; |
rpcraig | 905e316 | 2012-12-07 06:11:14 -0500 | [diff] [blame] | 43 | type ion_device, dev_type, mlstrustedobject; |
hqjiang | 81039ab | 2012-07-10 14:36:22 -0700 | [diff] [blame] | 44 | type gps_device, dev_type; |
hqjiang | 4c06d27 | 2012-07-19 11:07:04 -0700 | [diff] [blame] | 45 | type qtaguid_device, dev_type; |
rpcraig | bac9992 | 2012-12-03 06:07:45 -0500 | [diff] [blame] | 46 | type watchdog_device, dev_type; |
Robert Craig | 18b5f87 | 2013-01-07 09:21:18 -0500 | [diff] [blame] | 47 | type uhid_device, dev_type; |
Stephen Smalley | 9fc0d40 | 2014-03-26 15:37:54 -0400 | [diff] [blame] | 48 | type uio_device, dev_type; |
Robert Craig | 18b5f87 | 2013-01-07 09:21:18 -0500 | [diff] [blame] | 49 | type tun_device, dev_type, mlstrustedobject; |
Robert Craig | f62af81 | 2013-01-30 13:17:14 -0500 | [diff] [blame] | 50 | type usbaccessory_device, dev_type; |
Robert Craig | 65d4f44 | 2013-03-27 06:30:25 -0400 | [diff] [blame] | 51 | type usb_device, dev_type; |
Alex Klyubin | 77ec892 | 2013-05-09 12:39:32 -0700 | [diff] [blame] | 52 | type klog_device, dev_type; |
Geremy Condra | c529c66 | 2013-02-28 17:33:16 -0800 | [diff] [blame] | 53 | type properties_device, dev_type; |
William Roberts | 7fa2f9e | 2012-05-31 09:40:12 -0400 | [diff] [blame] | 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; |
hqjiang | ee5f400 | 2012-07-11 11:21:05 -0700 | [diff] [blame] | 60 | |
Robert Craig | 65d4f44 | 2013-03-27 06:30:25 -0400 | [diff] [blame] | 61 | # All devices have a rpmsg device for |
hqjiang | ee5f400 | 2012-07-11 11:21:05 -0700 | [diff] [blame] | 62 | # achieving remoteproc and rpmsg modules |
| 63 | type rpmsg_device, dev_type; |
Robert Craig | dfef99a | 2014-02-19 20:16:13 -0500 | [diff] [blame] | 64 | |
| 65 | # Partition layout block device |
| 66 | type root_block_device, dev_type; |
Andres Morales | d8447fd | 2014-07-09 15:18:32 -0700 | [diff] [blame] | 67 | |
dcashman | 47bd730 | 2014-09-08 13:11:01 -0700 | [diff] [blame] | 68 | # factory reset protection block device |
| 69 | type frp_block_device, dev_type; |