Home
last modified time | relevance | path

Searched refs:pw_gecos (Results 1 – 14 of 14) sorted by relevance

/glibc-2.36/nss/nss_compat/
Dcompat-pwd.c108 free (pwd->pw_gecos); in give_pwd_free()
123 if (pwd->pw_gecos != NULL) in pwd_need_buflen()
124 len += strlen (pwd->pw_gecos) + 1; in pwd_need_buflen()
155 if (src->pw_gecos != NULL && strlen (src->pw_gecos)) in copy_pwd_changes()
158 dest->pw_gecos = strdup (src->pw_gecos); in copy_pwd_changes()
159 else if (dest->pw_gecos in copy_pwd_changes()
160 && strlen (dest->pw_gecos) >= strlen (src->pw_gecos)) in copy_pwd_changes()
161 strcpy (dest->pw_gecos, src->pw_gecos); in copy_pwd_changes()
164 dest->pw_gecos = buffer; in copy_pwd_changes()
165 strcpy (dest->pw_gecos, src->pw_gecos); in copy_pwd_changes()
[all …]
/glibc-2.36/nss/
Dbug17079.c37 && strcmp (a->pw_gecos, b->pw_gecos) == 0 in equal()
62 target->pw_gecos = xstrdup (pwd->pw_gecos); in init_test_items()
Dnss_test.h67 .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \
72 .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \
102 printf (" %u, %s, %s, %s\n", p->pw_gid, p->pw_gecos, p->pw_dir, p->pw_shell); in print_passwd()
168 COMPARE_PWD_FIELD (pw_gecos); in compare_passwds()
Dtst-nss-test5.c39 .pw_gid = 200, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \
42 .pw_gid = 2, .pw_gecos = (char *) "y", .pw_dir = (char *) "z", \
Dnss_test1.c52 .pw_gid = 100, .pw_gecos = (char *) "*", .pw_dir = (char *) "*", \
160 result->pw_gecos = alloc_buffer_maybe_copy_string (&buf, local->pw_gecos); in copy_passwd()
/glibc-2.36/pwd/
Dfgetpwent_r.c43 result->pw_gecos = NULL;
60 STRING_FIELD (result->pw_gecos, ISCOLON, 0);
Dtst-putpwent.c114 .pw_gecos = (char *) "gecos", in do_test()
124 .pw_gecos = (char *) ":ge\n:cos\n", in do_test()
Dgetpw.c55 p->pw_gecos, p->pw_dir, p->pw_shell) < 0) in __getpw()
Dputpwent.c45 const char *gecos = __nss_rewrite_field (p->pw_gecos, &gecos_alloc); in putpwent()
Dpwd.h56 char *pw_gecos; /* Real name. */ member
/glibc-2.36/nscd/
Dnscd_getpw_r.c155 resultbuf->pw_gecos = p; in nscd_getpw_r()
196 || resultbuf->pw_gecos[pw_resp.pw_gecos_len - 1] != '\0' in nscd_getpw_r()
Dpwdcache.c171 size_t pw_gecos_len = strlen (pwd->pw_gecos) + 1; in cache_addpw()
239 cp = mempcpy (cp, pwd->pw_gecos, pw_gecos_len); in cache_addpw()
/glibc-2.36/manual/examples/
Ddb.c42 printf ("I am %s.\n", my_passwd->pw_gecos); in main()
/glibc-2.36/manual/
Dusers.texi1777 @item char *pw_gecos