From 1ebf9cb66322f83c65003a62e866b0fe2d974f9b Mon Sep 17 00:00:00 2001 From: Luzanne Batoon Date: Thu, 9 May 2024 18:26:58 +0000 Subject: [PATCH] Add restorecon flags for force and data data Test: m Bug: 210155681 Change-Id: I9d5b64c48d21e83fb8f03dac261efc530c5f8aa6 --- init/util.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/util.cpp b/init/util.cpp index e5efc7da6..375e905d5 100644 --- a/init/util.cpp +++ b/init/util.cpp @@ -570,6 +570,8 @@ Result>> ParseRestorecon( {"--recursive", SELINUX_ANDROID_RESTORECON_RECURSE}, {"--skip-ce", SELINUX_ANDROID_RESTORECON_SKIPCE}, {"--cross-filesystems", SELINUX_ANDROID_RESTORECON_CROSS_FILESYSTEMS}, + {"--force", SELINUX_ANDROID_RESTORECON_FORCE}, + {"--data-data", SELINUX_ANDROID_RESTORECON_DATADATA}, {0, 0}}; int flag = 0;