From 8b6ec014518ccd6b130f884934200e722e26fa24 Mon Sep 17 00:00:00 2001 From: limeng151 Date: Fri, 16 Jul 2021 17:22:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: limeng151 Change-Id: I49afdb4c53e590a691d51167e916df9d857ab297 --- kernel_lite/process_posix/src/UidGidTest.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/kernel_lite/process_posix/src/UidGidTest.h b/kernel_lite/process_posix/src/UidGidTest.h index 89bfd4540..4db0410f6 100755 --- a/kernel_lite/process_posix/src/UidGidTest.h +++ b/kernel_lite/process_posix/src/UidGidTest.h @@ -26,7 +26,6 @@ const int MAX_UGID = 100000; static int groupNum = -1; static gid_t groupsArry[10] = {0}; - // Assert all uid == expectUid #define AssertAllUid(expectUid) do { \ uid_t uid, euid, suid; \ @@ -67,9 +66,6 @@ protected: void TearDown() { LOG("TearDown: reset uid and gid"); - // gid_t gidList[2]; - // gidList[0] = SHELL_UID; - // gidList[1] = 0; setuid(SHELL_UID); setgid(SHELL_GID); AssertAllUid(SHELL_UID); -- GitLab