Home
last modified time | relevance | path

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

/glibc-2.36/nss/
Dnss_test.h76 { .gr_name = (char *) "name" #u, .gr_passwd = (char *) "*", .gr_gid = u, \
80 { .gr_name = (char *) n, .gr_passwd = (char *) "*", .gr_gid = u, \
192 printf (" group %u.%s (%s) :", g->gr_gid, g->gr_name, g->gr_passwd); in print_group()
240 if (g->gr_passwd == NULL && e->gr_passwd != NULL) in compare_groups()
246 else if (g->gr_passwd != NULL && e->gr_passwd == NULL) in compare_groups()
253 else if (g->gr_passwd && strcmp (g->gr_passwd, e->gr_passwd) != 0) in compare_groups()
257 g->gr_passwd, e->gr_passwd); in compare_groups()
Dtst-nss-test3.c69 …{ .gr_name = (char *)"name5", .gr_passwd = (char *)"wilma", .gr_gid = 5, .gr_mem = NULL }, /* un…
70 …{ .gr_name = (char *)"name5", .gr_passwd = NULL, .gr_gid = 5, .gr_mem = NULL }, /* missing passwd…
71 …{ .gr_name = (char *)"name5", .gr_passwd = (char *)"wilma", .gr_gid = 5, .gr_mem = NULL }, /* wro…
86 { .gr_name = (char *)"name5", .gr_passwd = NULL, .gr_gid = 5, .gr_mem = NULL },
87 { .gr_name = (char *)"name5", .gr_passwd = (char *)"fred", .gr_gid = 5, .gr_mem = NULL },
88 { .gr_name = (char *)"name5", .gr_passwd = (char *)"fred", .gr_gid = 5, .gr_mem = NULL },
Dnss_test1.c273 result->gr_passwd = alloc_buffer_maybe_copy_string (&buf, local->gr_passwd); in copy_group()
/glibc-2.36/grp/
Dtst-putgrent.c57 e.gr_name, e.gr_passwd); in check()
108 .gr_passwd = (char *) "password", in do_test()
115 .gr_passwd = (char *) "password", in do_test()
152 .gr_passwd = (char *) *bad, in do_test()
157 .gr_passwd = (char *) "password", in do_test()
Dputgrent.c38 || !__nss_valid_field (gr->gr_passwd) in putgrent()
49 gr->gr_name, _S (gr->gr_passwd)); in putgrent()
52 gr->gr_name, _S (gr->gr_passwd), in putgrent()
Dgrp-merge.c59 len = strlen (srcgrp.gr_passwd) + 1; in __copy_grp()
61 memcpy (&destbuf[c], srcgrp.gr_passwd, len); in __copy_grp()
62 destgrp->gr_passwd = &destbuf[c]; in __copy_grp()
Dfgetgrent_r.c39 result->gr_passwd = NULL;
44 STRING_FIELD (result->gr_passwd, ISCOLON, 0);
Dgrp.h45 char *gr_passwd; /* Password. */ member
/glibc-2.36/nscd/
Dnscd_getgr_r.c182 resultbuf->gr_passwd = p; in nscd_getgr_r()
281 || resultbuf->gr_passwd[gr_resp.gr_passwd_len - 1] != '\0' in nscd_getgr_r()
Dgrpcache.c163 size_t gr_passwd_len = strlen (grp->gr_passwd) + 1; in cache_addgr()
254 cp = mempcpy (cp, grp->gr_passwd, gr_passwd_len); in cache_addgr()