/**
* Sets Smack labels on a directory and its contents, recursively.
*
- * @param pkgId[in] application's package identifier
+ * @param appId[in] application's identifier
* @param path[in] path to a file or directory to setup
* @param pathType[in] type of path to setup. See description of
* app_install_path_type in security-manager.h for details
*
* @return true on success, false on error.
*/
-bool setupPath(const std::string &pkgId, const std::string &path,
+bool setupPath(const std::string &appId, const std::string &path,
app_install_path_type pathType);
/**
std::string generateAppNameFromLabel(const std::string &label);
/**
+ * Sets Smack labels on a <ROOT_APP>/<pkg_id> and <ROOT_APP>/<pkg_id>/<app_id>
+ * non-recursively
+ *
+ * @param pkgID[in] package identifier
+ * @param appID[in] application's identifier
+ * @param path[in] <ROOT_APP> path
+ */
+bool setupCorrectPath(const std::string &pkgID, const std::string &appID,
+ const std::string &path);
+
+/**
* Generates label for an application with a specific application ID
* read from @ref appId and assigns it to @ref label.
*