sepolicy: Label thunderquake_engine nodes

Change-Id: Iea2ff7e3539ea74df75fb9d4f1cb69197e60b39d
diff --git a/basic/non_plat/genfs_contexts b/basic/non_plat/genfs_contexts
index 6721228..ddbcc01 100644
--- a/basic/non_plat/genfs_contexts
+++ b/basic/non_plat/genfs_contexts
@@ -661,3 +661,6 @@
 
 # Purpose: allow mgq access
 genfscon proc /mgq u:object_r:proc_mgq:s0
+
+# Vibrator
+genfscon sysfs /kernel/thunderquake_engine    u:object_r:sysfs_vibrator:s0
diff --git a/basic/non_plat/hal_vibrator_default.te b/basic/non_plat/hal_vibrator_default.te
index bd84b3e..cc39755 100644
--- a/basic/non_plat/hal_vibrator_default.te
+++ b/basic/non_plat/hal_vibrator_default.te
@@ -3,4 +3,5 @@
 # ==============================================
 
 # vibrator sysfs rw access
+allow hal_vibrator_default sysfs_vibrator:dir search;
 allow hal_vibrator_default sysfs_vibrator:file rw_file_perms;