This revert is due to moving security-manager to separate repitory
This reverts commit
9d7d2f242d036ed8f07e4afa108709524b1af409.
Change-Id: I40281c8094b58561eef05e3f5941ae74b380fb55
Signed-off-by: Jan Cybulski <j.cybulski@samsung.com>
return false;
}
- if (smack_smackfs_path() != NULL && !smackRules.apply()) {
+ if (!smackRules.apply()) {
LogError("Failed to apply application rules to kernel");
return false;
}
try {
SmackRules rules;
if (rules.loadFromFile(path)) {
- if (smack_smackfs_path() != NULL && !rules.clear()) {
+ if (!rules.clear()) {
LogWarning("Failed to clear smack kernel rules for pkgId: " << pkgId);
// don't stop uninstallation
}