Searched refs:grp_buflen (Results 1 – 2 of 2) sorted by relevance
/titanic_41/usr/src/cmd/fs.d/nfs/nfsmapid/ |
H A D | nfsmapid.c | 69 size_t grp_buflen = 0; variable 210 grp_buflen = (size_t)sysconf(_SC_GETGR_R_SIZE_MAX); in daemon_init() 245 if ((grp_buf = realloc(pwd_buf, grp_buflen)) == NULL) { in daemon_init() 250 (void) _uncached_getgrnam_r("NF21dmvP", &grp, grp_buf, grp_buflen); in daemon_init() 251 (void) _uncached_getgrgid_r(1181794, &grp, grp_buf, grp_buflen); in daemon_init()
|
H A D | nfsmapid_server.c | 73 extern size_t grp_buflen; 409 if ((grp_buf = malloc(grp_buflen)) == NULL || in nfsmapid_str_gid() 410 (grp_rc = getgrnam_r(group, &grp, grp_buf, grp_buflen, &grp_ptr)) in nfsmapid_str_gid() 515 if ((grp_buf = malloc(grp_buflen)) == NULL || dom_str_len == 0 || in nfsmapid_gid_str() 516 getgrgid_r(gid, &grp, grp_buf, grp_buflen, &grp_ptr) != 0 || in nfsmapid_gid_str()
|