Home
last modified time | relevance | path

Searched refs:groupInfo (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/nfs4/idmapper/
H A DIdMapper.cpp125 struct group* groupInfo = NULL; in NameToGID() local
128 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() local
147 if (groupInfo != NULL) { in GIDToName()
148 name = groupInfo->gr_name; in GIDToName()
272 struct group* groupInfo = getgrnam(kNogroupName); in main() local
273 if (groupInfo != NULL) in main()
274 gNogroupId = groupInfo->gr_gid; in main()
/haiku/src/bin/multiuser/
H A Dgroupmod.cpp102 struct group* groupInfo = getgrnam(group); in main() local
103 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()