device.te revision 65d4f44c1fd999d9cf9c4ef4dc65deb71bafcd8e
12dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalley# Device types 22dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype device, dev_type, fs_type; 32dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype akm_device, dev_type; 42dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype accelerometer_device, dev_type; 52dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype alarm_device, dev_type, mlstrustedobject; 62dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype adb_device, dev_type; 72dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype ashmem_device, dev_type, mlstrustedobject; 82dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype audio_device, dev_type; 92dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype binder_device, dev_type, mlstrustedobject; 102dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype block_device, dev_type; 112dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype camera_device, dev_type; 122dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype dm_device, dev_type; 132dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype loop_device, dev_type; 142dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype radio_device, dev_type; 152dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype ram_device, dev_type; 162dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype console_device, dev_type; 172dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype cpuctl_device, dev_type; 182dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype full_device, dev_type; 192dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype graphics_device, dev_type; 202dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype input_device, dev_type; 212dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype kmem_device, dev_type; 222dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype log_device, dev_type, mlstrustedobject; 232dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype mtd_device, dev_type; 24c94e2392f6d92064e3aa32fff2c5a70116c7398aStephen Smalleytype mtp_device, dev_type, mlstrustedobject; 252dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype nfc_device, dev_type; 262dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype nv_device, dev_type, mlstrustedobject; 272dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype powervr_device, dev_type, mlstrustedobject; 282dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype ptmx_device, dev_type, mlstrustedobject; 292dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype qemu_device, dev_type; 302dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype kmsg_device, dev_type; 312dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype null_device, dev_type, mlstrustedobject; 322dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype random_device, dev_type; 3365d4f44c1fd999d9cf9c4ef4dc65deb71bafcd8eRobert Craigtype sensors_device, dev_type; 342dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype serial_device, dev_type; 352dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype socket_device, dev_type; 3665d4f44c1fd999d9cf9c4ef4dc65deb71bafcd8eRobert Craigtype timerirq_device, dev_type; 372dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype tty_device, dev_type; 382dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype urandom_device, dev_type; 392dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype video_device, dev_type; 402dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype vcs_device, dev_type; 412dd4e51d5c2a2dfc0bfdee9303269f5a665f6e3Stephen Smalleytype zero_device, dev_type; 4280ea1d230526810986964e8c7ed93c3a51159c78William Robertstype fuse_device, dev_type; 43f62af81817b1e8c4be5e71cbcef7b91e1b7b2bbfRobert Craigtype iio_device, dev_type; 44905e316d0b9f2a913f61a6344bc9bafe2fa66671rpcraigtype ion_device, dev_type, mlstrustedobject; 4581039ab556b72d43b703da0ac1eb93b979ee6bc4hqjiangtype gps_device, dev_type; 464c06d273bc3d278e7061bf93cfa97fdf2a4e8ee3hqjiangtype qtaguid_device, dev_type; 47bac9992e860f634ef32354b4a0bcf39b300b059arpcraigtype watchdog_device, dev_type; 4818b5f87ea18baaf7356a1f1729dc2737be3c141eRobert Craigtype uhid_device, dev_type; 4918b5f87ea18baaf7356a1f1729dc2737be3c141eRobert Craigtype tun_device, dev_type, mlstrustedobject; 50f62af81817b1e8c4be5e71cbcef7b91e1b7b2bbfRobert Craigtype usbaccessory_device, dev_type; 5165d4f44c1fd999d9cf9c4ef4dc65deb71bafcd8eRobert Craigtype usb_device, dev_type; 527fa2f9e0f5ea5c24d4e14ba4aef14cfc7090a388William Roberts 537fa2f9e0f5ea5c24d4e14ba4aef14cfc7090a388William Roberts# All devices have a uart for the hci 547fa2f9e0f5ea5c24d4e14ba4aef14cfc7090a388William Roberts# attach service. The uart dev node 557fa2f9e0f5ea5c24d4e14ba4aef14cfc7090a388William Roberts# varies per device. This type 567fa2f9e0f5ea5c24d4e14ba4aef14cfc7090a388William Roberts# is used in per device policy 577fa2f9e0f5ea5c24d4e14ba4aef14cfc7090a388William Robertstype hci_attach_dev, dev_type; 58ee5f400562f7b76da69f8a31e2c19e20f3384566hqjiang 5965d4f44c1fd999d9cf9c4ef4dc65deb71bafcd8eRobert Craig# All devices have a rpmsg device for 60ee5f400562f7b76da69f8a31e2c19e20f3384566hqjiang# achieving remoteproc and rpmsg modules 61ee5f400562f7b76da69f8a31e2c19e20f3384566hqjiangtype rpmsg_device, dev_type; 62