From 94f322e016883f09fecedc0408171338a09f47aa Mon Sep 17 00:00:00 2001
From: Nick Kralevich <nnk@google.com>
Date: Mon, 18 Nov 2013 13:48:51 -0800
Subject: [PATCH] Remove /sys/class/rfkill/rfkill.* lines

These are all symlinks. The restorecon in /sys doesn't follow
symlinks, so these lines have absolutely no effect, and just
serve to confuse people.

Remove them.

Change-Id: I24373fa0308ec700011ed19b1ce29a491d1feff3
---
 file_contexts | 2 --
 1 file changed, 2 deletions(-)

diff --git a/file_contexts b/file_contexts
index d2d99490e..c0d7e6515 100644
--- a/file_contexts
+++ b/file_contexts
@@ -209,8 +209,6 @@
 #
 /sys/qemu_trace(/.*)?	--	u:object_r:sysfs_writable:s0
 /sys/devices/platform/nfc-power/nfc_power -- u:object_r:sysfs_nfc_power_writable:s0
-/sys/class/rfkill/rfkill[0-9]*/state -- u:object_r:sysfs_bluetooth_writable:s0
-/sys/class/rfkill/rfkill[0-9]*/type -- u:object_r:sysfs_bluetooth_writable:s0
 /sys/devices/system/cpu(/.*)?    u:object_r:sysfs_devices_system_cpu:s0
 /sys/power/wake_lock -- u:object_r:sysfs_wake_lock:s0
 /sys/power/wake_unlock -- u:object_r:sysfs_wake_lock:s0
-- 
GitLab