Merge "Add restorecon flags for force and data data" into main am: be6e1459ee am: 6f29391e40

Original change: https://android-review.googlesource.com/c/platform/system/core/+/3080964

Change-Id: I5113ed4072ecffbff42b17774ffbd0ebc1767054
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot 2024-05-16 23:47:07 +00:00 committed by Automerger Merge Worker
commit 6037b6ea0f

View file

@ -570,6 +570,8 @@ Result<std::pair<int, std::vector<std::string>>> 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;