Searched refs:gr_passwd (Results 1 – 10 of 10) sorted by relevance
/glibc-2.36/nss/ |
D | nss_test.h | 76 { .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()
|
D | tst-nss-test3.c | 69 …{ .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 },
|
D | nss_test1.c | 273 result->gr_passwd = alloc_buffer_maybe_copy_string (&buf, local->gr_passwd); in copy_group()
|
/glibc-2.36/grp/ |
D | tst-putgrent.c | 57 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()
|
D | putgrent.c | 38 || !__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()
|
D | grp-merge.c | 59 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()
|
D | fgetgrent_r.c | 39 result->gr_passwd = NULL; 44 STRING_FIELD (result->gr_passwd, ISCOLON, 0);
|
D | grp.h | 45 char *gr_passwd; /* Password. */ member
|
/glibc-2.36/nscd/ |
D | nscd_getgr_r.c | 182 resultbuf->gr_passwd = p; in nscd_getgr_r() 281 || resultbuf->gr_passwd[gr_resp.gr_passwd_len - 1] != '\0' in nscd_getgr_r()
|
D | grpcache.c | 163 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()
|