diff --git a/src/bin/ps.c b/src/bin/ps.c index 92416ceb96..bc5fb0788b 100644 --- a/src/bin/ps.c +++ b/src/bin/ps.c @@ -29,7 +29,7 @@ printTeamInfo(team_info *teamInfo, bool printHeader) "Uid"); printf("%-50s %5ld %8ld %4d %4d\n", teamInfo->args, teamInfo->team, - teamInfo->thread_count, teamInfo->uid, teamInfo->gid); + teamInfo->thread_count, teamInfo->gid, teamInfo->uid); } diff --git a/src/system/kernel/team.cpp b/src/system/kernel/team.cpp index b794b07b30..62a3677369 100644 --- a/src/system/kernel/team.cpp +++ b/src/system/kernel/team.cpp @@ -2494,8 +2494,8 @@ fill_team_info(Team* team, team_info* info, size_t size) //info->area_count = info->debugger_nub_thread = team->debug_info.nub_thread; info->debugger_nub_port = team->debug_info.nub_port; - //info->uid = - //info->gid = + info->uid = team->effective_uid; + info->gid = team->effective_gid; strlcpy(info->args, team->Args(), sizeof(info->args)); info->argc = 1;