aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Żenczykowski <maze@google.com>2019-05-05 22:56:18 -0700
committerAlistair Strachan <astrachan@google.com>2019-05-06 19:25:54 +0000
commit46113e64e74906fc52a0c40265daa1580f67a432 (patch)
tree7645c99f455a7e072c2aee850740f7851669c8e9
parent534196b5c66828af055cb6bc303b27050dd9d3eb (diff)
downloadcuttlefish-46113e64e74906fc52a0c40265daa1580f67a432.tar.gz
cuttlefish - once again fix mtu labelling...
PCI device ids changed due to: https://android-review.googlesource.com/c/device/google/cuttlefish/+/956302 'Generate OTA package for Dynamic partitions.' Instead of adding the new ones and keeping the old ones, we could probably just replace the old ones with the new ones... but it really doesn't hurt to keep them around, and I'm getting tired of this rabbit hole... Test: locally via launch_cvd with crosvm & qemu_cli Bug: 131863575 Bug: 132039019 Bug: 132037914 Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I0925a1c94a27f67d771667ae7bdde615899a4578 Merged-In: I0925a1c94a27f67d771667ae7bdde615899a4578
-rw-r--r--shared/sepolicy/genfs_contexts12
1 files changed, 8 insertions, 4 deletions
diff --git a/shared/sepolicy/genfs_contexts b/shared/sepolicy/genfs_contexts
index c9e8c3b89..9a0b87629 100644
--- a/shared/sepolicy/genfs_contexts
+++ b/shared/sepolicy/genfs_contexts
@@ -1,5 +1,9 @@
genfscon sysfs /devices/pnp0/00:00/rtc u:object_r:sysfs_rtc:s0
-genfscon sysfs /devices/pci0000:00/0000:00:09.0/virtio7/net u:object_r:sysfs_net:s0 # qemu buried_eth0 & wlan0
-genfscon sysfs /devices/pci0000:00/0000:00:0a.0/virtio8/net u:object_r:sysfs_net:s0 # qemu rmnet0
-genfscon sysfs /devices/pci0000:00/0000:00:0b.0/virtio10/net u:object_r:sysfs_net:s0 # crosvm buried_eth0 & wlan0
-genfscon sysfs /devices/pci0000:00/0000:00:0c.0/virtio11/net u:object_r:sysfs_net:s0 # crosvm rmnet0
+genfscon sysfs /devices/pci0000:00/0000:00:07.0/virtio5/net u:object_r:sysfs_net:s0 # (new) qemu buried_eth0 & wlan0
+genfscon sysfs /devices/pci0000:00/0000:00:08.0/virtio6/net u:object_r:sysfs_net:s0 # (new) qemu rmnet0
+genfscon sysfs /devices/pci0000:00/0000:00:09.0/virtio8/net u:object_r:sysfs_net:s0 # (new) crosvm buried_eth0 & wlan0
+genfscon sysfs /devices/pci0000:00/0000:00:0a.0/virtio9/net u:object_r:sysfs_net:s0 # (new) crosvm rmnet0
+genfscon sysfs /devices/pci0000:00/0000:00:09.0/virtio7/net u:object_r:sysfs_net:s0 # (old) qemu buried_eth0 & wlan0
+genfscon sysfs /devices/pci0000:00/0000:00:0a.0/virtio8/net u:object_r:sysfs_net:s0 # (old) qemu rmnet0
+genfscon sysfs /devices/pci0000:00/0000:00:0b.0/virtio10/net u:object_r:sysfs_net:s0 # (old) crosvm buried_eth0 & wlan0
+genfscon sysfs /devices/pci0000:00/0000:00:0c.0/virtio11/net u:object_r:sysfs_net:s0 # (old) crosvm rmnet0