summaryrefslogtreecommitdiff
path: root/drivers/base/firmware_class.c
diff options
context:
space:
mode:
authorSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>2017-02-27 11:27:10 -0800
committerSatya Durga Srinivasu Prabhala <satyap@codeaurora.org>2017-02-27 19:56:58 -0800
commit2448682db27f8a45ba9c3273fd89e44f7d414500 (patch)
tree448ab48a706ad6796df1898fc626c615fa2c2f08 /drivers/base/firmware_class.c
parent544dff7ea4d8b1bd44eb2d21a6b33f0b521a3b6e (diff)
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 <satyap@codeaurora.org>
Diffstat (limited to 'drivers/base/firmware_class.c')
-rw-r--r--drivers/base/firmware_class.c3
1 files changed, 1 insertions, 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"
};
/*