From 4e467e71e9d653a369471b3b83126b27473aa80d Mon Sep 17 00:00:00 2001 From: Jeongik Cha Date: Thu, 7 Nov 2019 15:41:48 +0900 Subject: [PATCH] Turn on executable bit on system_ext/bin Setting executable bit on system_ext/bin is missing, so add them into list. Bug: 144066307 Test: m && check if system_ext/bin/* have execute permission. Change-Id: I89c9e0d2d54f965ecd058bb9e77ba77b7ed164c1 --- libcutils/fs_config.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp index 5fb11a51b..2b39ca6f5 100644 --- a/libcutils/fs_config.cpp +++ b/libcutils/fs_config.cpp @@ -85,6 +85,7 @@ static const struct fs_path_config android_dirs[] = { { 00755, AID_ROOT, AID_SHELL, 0, "system/vendor" }, { 00751, AID_ROOT, AID_SHELL, 0, "system/xbin" }, { 00751, AID_ROOT, AID_SHELL, 0, "system/apex/*/bin" }, + { 00751, AID_ROOT, AID_SHELL, 0, "system_ext/bin" }, { 00751, AID_ROOT, AID_SHELL, 0, "vendor/bin" }, { 00755, AID_ROOT, AID_SHELL, 0, "vendor" }, { 00755, AID_ROOT, AID_ROOT, 0, 0 }, @@ -207,6 +208,7 @@ static const struct fs_path_config android_files[] = { { 00755, AID_ROOT, AID_SHELL, 0, "system/bin/*" }, { 00755, AID_ROOT, AID_SHELL, 0, "system/xbin/*" }, { 00755, AID_ROOT, AID_SHELL, 0, "system/apex/*/bin/*" }, + { 00755, AID_ROOT, AID_SHELL, 0, "system_ext/bin/*" }, { 00755, AID_ROOT, AID_SHELL, 0, "vendor/bin/*" }, { 00755, AID_ROOT, AID_SHELL, 0, "vendor/xbin/*" }, { 00644, AID_ROOT, AID_ROOT, 0, 0 },