Fix file_contexts entry for update_fw.
Needs to use the real pathname in order for restorecon_recursive("/sys")
to work correctly, unlike the old individual restorecon commands.
Change-Id: I9a0ab7a0efe69d31890d51137454847d198555e5
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 4fbad56..c370227 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -23,8 +23,8 @@
/system/bin/glgps -- u:object_r:gpsd_exec:s0
/system/bin/sensors-config -- u:object_r:sensors_config_exec:s0
-/sys/bus/i2c/drivers/elan-ktf3k/1-0010/update_fw -- u:object_r:sysfs_firmware_writable:s0
/sys/devices/tegradc\.0(/.*)? u:object_r:sysfs_devices_tegradc:s0
/sys/devices/tegradc\.1(/.*)? u:object_r:sysfs_devices_tegradc:s0
+/sys/devices/platform/tegra-i2c.1/i2c-1/1-0010/update_fw -- u:object_r:sysfs_firmware_writable:s0
/sys/devices/platform/bcm4330_rfkill/rfkill/rfkill0/state -- u:object_r:sysfs_bluetooth_writable:s0
/sys/devices/platform/bcm4330_rfkill/rfkill/rfkill0/type -- u:object_r:sysfs_bluetooth_writable:s0