From 2448682db27f8a45ba9c3273fd89e44f7d414500 Mon Sep 17 00:00:00 2001 From: Satya Durga Srinivasu Prabhala Date: Mon, 27 Feb 2017 11:27:10 -0800 Subject: [PATCH] Revert "firmware_class: Add an additional path to fw_path list" This reverts commit 3e47c536248f ("firmware_class: Add an additional path to fw_path list"). Adding /firmware/images entry in fw_path is introducing selinux denials as the access was happening under the client process context. Removing the entry from fw_path structure. Change-Id: I359f8defe49595a7e53558992080cb94eba42451 Signed-off-by: Satya Durga Srinivasu Prabhala --- drivers/base/firmware_class.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index 87a48268b663..1c6e4da01e69 100644 --- a/drivers/base/firmware_class.c +++ b/drivers/base/firmware_class.c @@ -307,8 +307,7 @@ static const char * const fw_path[] = { "/lib/firmware/updates/" UTS_RELEASE, "/lib/firmware/updates", "/lib/firmware/" UTS_RELEASE, - "/lib/firmware", - "/firmware/image" + "/lib/firmware" }; /* -- 2.11.0