/freebsd/lib/libutil/ |
H A D | gr_util.c | 389 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 D | getgr_test.c | 93 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 D | group.c | 57 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 D | newgrp.c | 178 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 D | logins.c | 57 char *gr_passwd; member 139 grps[ngrps].gr_passwd = xstrdup(grp->gr_passwd); in get_groups()
|
/freebsd/usr.sbin/pw/ |
H A D | pw_group.c | 60 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 D | grp.h | 57 char *gr_passwd; /* group password */ member
|
/freebsd/lib/libc/gen/ |
H A D | getgrent.c | 241 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 D | grp_test.c | 55 grp->gr_passwd = grpPasswd; in build_grp()
|
/freebsd/libexec/mknetid/ |
H A D | parse_group.c | 118 if ((_gr_group.gr_passwd = strsep(&bp, ":\n")) == NULL) in grscan()
|
/freebsd/contrib/mtree/ |
H A D | getid.c | 261 _gr_group.gr_passwd = strsep(&bp, ":\n"); in grmatchline()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_solaris.h | 156 char *gr_passwd; member
|
H A D | sanitizer_platform_limits_solaris.cpp | 351 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
|
H A D | sanitizer_platform_limits_freebsd.h | 186 char *gr_passwd; member
|
H A D | sanitizer_platform_limits_freebsd.cpp | 551 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
|
H A D | sanitizer_platform_limits_posix.h | 379 char *gr_passwd; member
|
H A D | sanitizer_platform_limits_posix.cpp | 1295 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
|
H A D | sanitizer_platform_limits_netbsd.h | 203 char *gr_passwd; member
|
H A D | sanitizer_platform_limits_netbsd.cpp | 2690 CHECK_SIZE_AND_OFFSET(group, gr_passwd);
|
H A D | sanitizer_common_interceptors.inc | 1896 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 D | getent.c | 238 gr->gr_name, gr->gr_passwd, gr->gr_gid) in group()
|
/freebsd/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs.abi | 3949 <var-decl name='gr_passwd' type-id='26a90f95' visibility='default'/>
|