Home
last modified time | relevance | path

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

/freebsd/lib/libutil/
H A Dgr_util.c389 if (gr1->gr_passwd == NULL || gr2->gr_passwd == NULL) { in gr_equal()
390 if (gr1->gr_passwd != gr2->gr_passwd) in gr_equal()
392 } else if (strcmp(gr1->gr_passwd, gr2->gr_passwd) != 0) in gr_equal()
437 gr->gr_passwd, (uintmax_t)gr->gr_gid) + 1; in gr_make()
448 p += sprintf(p, group_line_format, gr->gr_name, gr->gr_passwd, in gr_make()
531 if (gr->gr_passwd != NULL) { in grcopy()
532 newgr->gr_passwd = dst; in grcopy()
533 dst = stpcpy(dst, gr->gr_passwd) + 1; in grcopy()
535 newgr->gr_passwd = NULL; in grcopy()
572 if (gr->gr_passwd != NULL) in grmemlen()
[all …]
/freebsd/lib/libc/tests/nss/
H A Dgetgr_test.c93 if (src->gr_passwd != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
94 dest->gr_passwd = strdup(src->gr_passwd); in IMPLEMENT_TEST_FILE_SNAPSHOT()
95 ATF_REQUIRE(dest->gr_passwd != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
122 free(grp->gr_passwd); in free_group()
141 strcmp(grp1->gr_passwd, grp2->gr_passwd) != 0 || in compare_group()
177 grp->gr_name, grp->gr_passwd, grp->gr_gid); in sdump_group()
225 grp->gr_passwd = strdup(s); in group_read_snapshot_func()
226 ATF_REQUIRE(grp->gr_passwd != NULL); in group_read_snapshot_func()
233 free(grp->gr_passwd); in group_read_snapshot_func()
235 grp->gr_passwd = NULL; in group_read_snapshot_func()
[all …]
/freebsd/usr.sbin/nscd/agents/
H A Dgroup.c57 if (grp->gr_passwd != NULL) in group_marshal_func()
58 desired_size += strlen(grp->gr_passwd) + 1; in group_marshal_func()
91 if (new_grp.gr_passwd != NULL) { in group_marshal_func()
92 size = strlen(new_grp.gr_passwd); in group_marshal_func()
93 memcpy(p, new_grp.gr_passwd, size); in group_marshal_func()
94 new_grp.gr_passwd = p; in group_marshal_func()
/freebsd/usr.bin/newgrp/
H A Dnewgrp.c178 if (!dbmember && *grp->gr_passwd != '\0' && getuid() != 0) { in addgroup()
182 cryptpw = crypt(pass, grp->gr_passwd); in addgroup()
183 if (cryptpw == NULL || strcmp(grp->gr_passwd, cryptpw) != 0) { in addgroup()
/freebsd/usr.bin/logins/
H A Dlogins.c57 char *gr_passwd; member
139 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd); in get_groups()
/freebsd/usr.sbin/pw/
H A Dpw_group.c60 grp->gr_passwd = "*"; /* No access */ in grp_set_passwd()
95 grp->gr_passwd = line; in grp_set_passwd()
97 grp->gr_passwd = pw_pwcrypt(line); in grp_set_passwd()
472 grp->gr_passwd = "*"; in groupadd()
/freebsd/include/
H A Dgrp.h57 char *gr_passwd; /* group password */ member
/freebsd/lib/libc/gen/
H A Dgetgrent.c241 if (grp->gr_passwd != NULL) in grp_marshal_func()
242 desired_size += strlen(grp->gr_passwd) + 1; in grp_marshal_func()
275 if (new_grp.gr_passwd != NULL) { in grp_marshal_func()
276 size = strlen(new_grp.gr_passwd); in grp_marshal_func()
277 memcpy(p, new_grp.gr_passwd, size); in grp_marshal_func()
278 new_grp.gr_passwd = p; in grp_marshal_func()
363 NS_APPLY_OFFSET(grp->gr_passwd, orig_buf, p, char *); in grp_unmarshal_func()
1549 (grp->gr_passwd = strsep(&line, ":")) == NULL || in __gr_parse_entry()
/freebsd/lib/libutil/tests/
H A Dgrp_test.c55 grp->gr_passwd = grpPasswd; in build_grp()
/freebsd/libexec/mknetid/
H A Dparse_group.c118 if ((_gr_group.gr_passwd = strsep(&bp, ":\n")) == NULL) in grscan()
/freebsd/contrib/mtree/
H A Dgetid.c261 _gr_group.gr_passwd = strsep(&bp, ":\n"); in grmatchline()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_solaris.h156 char *gr_passwd; member
H A Dsanitizer_platform_limits_solaris.cpp351 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
H A Dsanitizer_platform_limits_freebsd.h186 char *gr_passwd; member
H A Dsanitizer_platform_limits_freebsd.cpp551 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
H A Dsanitizer_platform_limits_posix.h379 char *gr_passwd; member
H A Dsanitizer_platform_limits_posix.cpp1295 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
H A Dsanitizer_platform_limits_netbsd.h203 char *gr_passwd; member
H A Dsanitizer_platform_limits_netbsd.cpp2690 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
H A Dsanitizer_common_interceptors.inc1896 if (grp->gr_passwd)
1897 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, grp->gr_passwd,
1898 internal_strlen(grp->gr_passwd) + 1);
/freebsd/usr.bin/getent/
H A Dgetent.c238 gr->gr_name, gr->gr_passwd, gr->gr_gid) in group()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs.abi3949 <var-decl name='gr_passwd' type-id='26a90f95' visibility='default'/>