Change-Id: I3a8953650c1dcee4d2cbe6b4171cd2bb3e84993e
/*
- * Copyright (c) 2000 - 2019 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2000-2020 Samsung Electronics Co., Ltd. All rights reserved
*
* Contact: Rafal Krypa <r.krypa@samsung.com>
*
cpd.getThreads();
if (!cpd.checkThreads()) {
LogError("Privileges haven't been properly dropped for the whole process of application " << app_name);
- return ret;
+ ret = SECURITY_MANAGER_ERROR_UNKNOWN;
}
} catch (const SecurityManager::Exception &e) {
LogError("Error while checking privileges of the process for application " << app_name << ": " << e.DumpToString());
- return ret;
+ ret = SECURITY_MANAGER_ERROR_UNKNOWN;
}
return ret;