From e80a153f20c77615aeffd4d627399e0f4751c2aa Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 8 Jul 2020 13:31:37 -0700 Subject: [PATCH] Allow snapuserd to be included in the initial ramdisk. Bug: 154536437 Test: manual test Change-Id: I0db2e0f4a96ac4f4e491bf2e380c098d98095a98 --- libcutils/fs_config.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libcutils/fs_config.cpp b/libcutils/fs_config.cpp index 5805a4d19..b9fc82eae 100644 --- a/libcutils/fs_config.cpp +++ b/libcutils/fs_config.cpp @@ -203,6 +203,7 @@ static const struct fs_path_config android_files[] = { { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/e2fsck" }, { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/tune2fs" }, { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/resize2fs" }, + { 00755, AID_ROOT, AID_ROOT, 0, "first_stage_ramdisk/system/bin/snapuserd" }, // generic defaults { 00755, AID_ROOT, AID_ROOT, 0, "bin/*" }, { 00640, AID_ROOT, AID_SHELL, 0, "fstab.*" },