* package path to security context
*
* \param pkg_id pkgid of given package
+ * \param pkg_type pkg type of given package
* \param path path for registering
* \param uid uid
* \param is_readonly_pkg RO package flag
* \return true if success
*/
bool RegisterSecurityContextForPath(const std::string &pkg_id,
- const boost::filesystem::path& path, uid_t uid,
- bool is_readonly_pkg, std::string* error_message);
+ const std::string& pkg_type, const boost::filesystem::path& path,
+ uid_t uid, bool is_readonly_pkg, std::string* error_message);
/**
* Adapter interface for external Security module.