Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/idmap/idmapd/
H A Ddbutils.c2887 static size_t grpbufsiz = 0; in ns_lookup_byname() local
2907 if (grpbufsiz == 0) in ns_lookup_byname()
2908 grpbufsiz = sysconf(_SC_GETGR_R_SIZE_MAX); in ns_lookup_byname()
2909 buf = alloca(grpbufsiz); in ns_lookup_byname()
2910 grpp = getgrnam_r(name, &grp, buf, grpbufsiz); in ns_lookup_byname()
2913 grpp = getgrnam_r(lower_name, &grp, buf, grpbufsiz); in ns_lookup_byname()
2940 static size_t grpbufsiz = 0; in ns_lookup_bypid() local
2955 if (grpbufsiz == 0) in ns_lookup_bypid()
2956 grpbufsiz = sysconf(_SC_GETGR_R_SIZE_MAX); in ns_lookup_bypid()
2957 buf = alloca(grpbufsiz); in ns_lookup_bypid()
[all …]