X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcommon%2Ftests_common.h;h=bfb46d95b57e8110d99f6bf44195726986f7bbd0;hb=ec6e28215079dbc70a5693ca296ec8b78c995e82;hp=3e829f1d2582a053288d0c3b7124e03e78cd5fc6;hpb=08f7aa56ee4a0b9e73f8223334659378fa2f49ac;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git diff --git a/src/common/tests_common.h b/src/common/tests_common.h index 3e829f1..bfb46d9 100644 --- a/src/common/tests_common.h +++ b/src/common/tests_common.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013-2015 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013 - 2019 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. @@ -38,7 +38,7 @@ #include const uid_t APP_UID = 5001; -const gid_t APP_GID = 5001; +const gid_t APP_GID = 100; const uid_t APP_UID_2 = 5200; const gid_t APP_GID_2 = 5200; const uid_t DB_ALARM_UID = 6001; @@ -47,7 +47,6 @@ const std::string TMP_DIR("/tmp"); bool smack_check(void); int drop_root_privileges(uid_t appUid = APP_UID, gid_t appGid = APP_GID); -void setLabelForSelf(const int line, const char *label); void add_process_group(const char* group_name); void remove_process_group(const char* group_name); std::string formatCstr(const char *cstr); @@ -58,7 +57,6 @@ void creatSafe(const std::string &path, mode_t mode); void symlinkSafe(const std::string &targetPath, const std::string &linkPath); void removeDir(const std::string &path); void waitPid(pid_t pid); -void change_label(const char* label); pid_t runInChild(const std::function &process); void runInChildParentWait(const std::function &process);