diff --git a/libselinux/src/selinux_restorecon.c b/libselinux/src/selinux_restorecon.c index dda6fb3a8e736eff4e5b4230ff9647a34360354e..1cc59dd4e227e73cc5ed6254a6131aec033ebab3 100644 --- a/libselinux/src/selinux_restorecon.c +++ b/libselinux/src/selinux_restorecon.c @@ -628,7 +628,6 @@ out: return rc; } -#define DATA_APP_EL1 "/data/app/el1/" #define DATA_APP_EL2 "/data/app/el2/" #define DATA_APP_EL3 "/data/app/el3/" #define DATA_APP_EL4 "/data/app/el4/" @@ -643,8 +642,7 @@ static int restorecon_sb(const char *pathname, const struct stat *sb, int rc; const char *lookup_path = pathname; - if (!strncmp(pathname, DATA_APP_EL1, sizeof(DATA_APP_EL1) - 1) || - !strncmp(pathname, DATA_APP_EL2, sizeof(DATA_APP_EL2) - 1) || + if (!strncmp(pathname, DATA_APP_EL2, sizeof(DATA_APP_EL2) - 1) || !strncmp(pathname, DATA_APP_EL3, sizeof(DATA_APP_EL3) - 1) || !strncmp(pathname, DATA_APP_EL4, sizeof(DATA_APP_EL4) - 1) || !strncmp(pathname, DATA_ACCOUNTS_ACCOUNT_0, sizeof(DATA_ACCOUNTS_ACCOUNT_0) - 1)) {