Searched refs:groupInfo (Results 1 – 2 of 2) sorted by relevance
125 struct group* groupInfo = NULL; in NameToGID() local128 groupInfo = getgrnam(groupName); in NameToGID()130 if (groupInfo == NULL) { in NameToGID()135 return write_port(gReplyPort, MsgReply, &groupInfo->gr_gid, sizeof(gid_t)); in NameToGID()146 struct group* groupInfo = getgrgid(groupId); in GIDToName() local147 if (groupInfo != NULL) { in GIDToName()148 name = groupInfo->gr_name; in GIDToName()272 struct group* groupInfo = getgrnam(kNogroupName); in main() local273 if (groupInfo != NULL) in main()274 gNogroupId = groupInfo->gr_gid; in main()
102 struct group* groupInfo = getgrnam(group); in main() local103 if (groupInfo == NULL) { in main()116 if (message.AddInt32("gid", groupInfo->gr_gid) != B_OK in main()118 || message.AddString("password", groupInfo->gr_passwd) != B_OK in main()124 for (int32 i = 0; const char* user = groupInfo->gr_mem[i]; i++) { in main()