Add restorecon flags for force and data data

Test: m
Bug: 210155681

Change-Id: I9d5b64c48d21e83fb8f03dac261efc530c5f8aa6
This commit is contained in:
Luzanne Batoon 2024-05-09 18:26:58 +00:00
parent 0455ca3e09
commit 1ebf9cb663

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;