From e6e5f32ea001e1b309f6c50e53fe78040d358bad Mon Sep 17 00:00:00 2001 From: Keun young Park Date: Tue, 25 Feb 2020 08:37:35 -0800 Subject: [PATCH] Add resize2fs to fsck_exec file context - This allows init to access it. Bug: 149039306 Test: Flash and confirm that file system can run resize2fs when metadata_csum is enabled. Change-Id: Id91d8fb6800b254b12eaf93a0e8cb019b55d2702 --- private/file_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/private/file_contexts b/private/file_contexts index 0a0d3c9b0..b694bafed 100644 --- a/private/file_contexts +++ b/private/file_contexts @@ -212,6 +212,7 @@ /system/bin/fsck_msdos -- u:object_r:fsck_exec:s0 /system/bin/tcpdump -- u:object_r:tcpdump_exec:s0 /system/bin/tune2fs -- u:object_r:fsck_exec:s0 +/system/bin/resize2fs -- u:object_r:fsck_exec:s0 /system/bin/toolbox -- u:object_r:toolbox_exec:s0 /system/bin/toybox -- u:object_r:toolbox_exec:s0 /system/bin/ld\.mc u:object_r:rs_exec:s0