Ram Muthiah | 4f1edd3 | 2019-11-26 17:01:53 -0800 | [diff] [blame] | 1 | genfscon sysfs /bus/iio/devices u:object_r:sysfs_iio_devices:s0 |
Alistair Delva | 49ff21a | 2019-12-30 11:44:07 -0800 | [diff] [blame] | 2 | genfscon sysfs /devices/pnp0/00:00/rtc u:object_r:sysfs_rtc:s0 # qemu x86 virtual rtc |
| 3 | genfscon sysfs /devices/platform/2000.rtc/rtc u:object_r:sysfs_rtc:s0 # crosvm arm64 virtual rtc |
Ram Muthiah | 4f1edd3 | 2019-11-26 17:01:53 -0800 | [diff] [blame] | 4 | genfscon sysfs /devices/platform/rtc-test.0/rtc/rtc0/hctosys u:object_r:sysfs_rtc:s0 |
| 5 | genfscon sysfs /devices/platform/rtc-test.1/rtc/rtc1/hctosys u:object_r:sysfs_rtc:s0 |
| 6 | genfscon sysfs /devices/platform/rtc-test.2/rtc/rtc2/hctosys u:object_r:sysfs_rtc:s0 |
Alistair Delva | 0771c6f | 2019-12-27 12:13:44 -0800 | [diff] [blame] | 7 | genfscon sysfs /devices/pci0000:00/0000:00:04.0/virtio2/net u:object_r:sysfs_net:s0 # qemu buried_eth0 & wlan0 |
| 8 | genfscon sysfs /devices/pci0000:00/0000:00:05.0/virtio3/net u:object_r:sysfs_net:s0 # qemu rmnet0 |
Kenny Root | 1f50ee6 | 2020-01-24 12:06:19 -0800 | [diff] [blame] | 9 | genfscon sysfs /devices/pci0000:00/0000:00:07.0/virtio6/net u:object_r:sysfs_net:s0 # crosvm buried_eth0 & wlan0 |
| 10 | genfscon sysfs /devices/pci0000:00/0000:00:08.0/virtio7/net u:object_r:sysfs_net:s0 # crosvm rmnet0 |
| 11 | genfscon sysfs /devices/pci0000:00/0000:00:0a.0/device u:object_r:sysfs_gpu:s0 |
| 12 | genfscon sysfs /devices/pci0000:00/0000:00:0a.0/subsystem_device u:object_r:sysfs_gpu:s0 |
| 13 | genfscon sysfs /devices/pci0000:00/0000:00:0a.0/subsystem_vendor u:object_r:sysfs_gpu:s0 |
| 14 | genfscon sysfs /devices/pci0000:00/0000:00:0a.0/uevent u:object_r:sysfs_gpu:s0 |
| 15 | genfscon sysfs /devices/pci0000:00/0000:00:0a.0/vendor u:object_r:sysfs_gpu:s0 |
Alistair Delva | 02f7895 | 2020-02-03 12:47:09 -0800 | [diff] [blame] | 16 | |
| 17 | # TODO(b/148802006): Work around core policy sysfs_wakeup label not working |
| 18 | # All kernels |
| 19 | genfscon sysfs /devices/platform/rtc-test.1/wakeup/wakeup0 u:object_r:sysfs_wakeup:s0 |
| 20 | genfscon sysfs /devices/platform/rtc-test.2/wakeup/wakeup2 u:object_r:sysfs_wakeup:s0 |
| 21 | # Kernels <=5.5 |
| 22 | genfscon sysfs /devices/platform/rtc-test.1/rtc/rtc1/wakeup1 u:object_r:sysfs_wakeup:s0 |
| 23 | # Kernels >5.5 |
| 24 | genfscon sysfs /devices/platform/rtc-test.1/rtc/rtc1/alarmtimer.0.auto/wakeup/wakeup1 u:object_r:sysfs_wakeup:s0 |