Change-Id: I571c61f565b0af58bc3cd07ea2ecd5c0b217b988
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
_E("cannot chown.");
}
+#ifdef WRT_SMACK_ENABLED
const char *argv_smack[] = { "/usr/bin/chsmack", "-a", APP_INFO_DB_LABEL, APP_INFO_DB_FILE, NULL };
xsystem(argv_smack);
const char *argv_smackjn[] = { "/usr/bin/chsmack", "-a", APP_INFO_DB_LABEL, APP_INFO_DB_FILE_JOURNAL, NULL };
xsystem(argv_smackjn);
-
+#endif
return AIL_ERROR_OK;
}
_E("cannot chown.");
}
+#ifdef WRT_SMACK_ENABLED
const char *argv_smack[] = { "/usr/bin/chsmack", "-a", APP_INFO_DB_LABEL, APP_INFO_DB_FILE, NULL };
xsystem(argv_smack);
const char *argv_smackjn[] = { "/usr/bin/chsmack", "-a", APP_INFO_DB_LABEL, APP_INFO_DB_FILE_JOURNAL, NULL };
xsystem(argv_smackjn);
-
+#endif
return AIL_ERROR_OK;
}