X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcommon%2Ftests_common.h;fp=tests%2Fcommon%2Ftests_common.h;h=ac398f0ef78fe43185624fc15f776c6ff4e77de6;hb=172747c7c388d09105f6788e0604b37f1e6df896;hp=52c05008b6e92b8d0e0d7ae984c209c0d8c8ae10;hpb=a07c65e735f85a7817c7a762d57d25849a2bf9ab;p=platform%2Fcore%2Ftest%2Fsecurity-tests.git diff --git a/tests/common/tests_common.h b/src/common/tests_common.h similarity index 98% rename from tests/common/tests_common.h rename to src/common/tests_common.h index 52c0500..ac398f0 100644 --- a/tests/common/tests_common.h +++ b/src/common/tests_common.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved + * Copyright (c) 2013-2015 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. @@ -40,8 +40,7 @@ const uid_t DB_ALARM_UID = 6001; const gid_t DB_ALARM_GID = 6001; const std::string TMP_DIR("/tmp"); -int smack_runtime_check(void); -int smack_check(void); +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);