/*
- * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
+ * Copyright (c) 2016-2020 Samsung Electronics Co., Ltd. All rights reserved
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
UserDescription& getUserDescription(UserType userType);
gid_t groupToGid(const std::string &gname);
PrivGroupMap getPrivGroupMap();
+ PrivVector getSystemdManagedPrivs();
GroupVector privToGroup(const PrivVector &privVector);
+ GidVector groupToGid(const GroupVector &groupVector);
-static bool getIsAskuserEnabled();
+ static bool getIsAskuserEnabled();
+ static std::string getPkgRulesFilePath();
+ static std::string getAppRulesFilePath();
private:
- GidVector groupToGid(const GroupVector &groupVector);
UserDescription loadUserDescription(UserType userType);
PrivVector loadPrivFile(const std::string &path);
void loadPrivGroupMap(void);