Searched refs:pwd (Results 1 - 25 of 38) sorted by relevance

12

/barrelfish-2018-10-04/lib/libc/tests/nss/
H A Dgetpw_test.c32 #include <pwd.h>
125 free_passwd(struct passwd *pwd) argument
127 free(pwd->pw_name);
128 free(pwd->pw_passwd);
129 free(pwd->pw_class);
130 free(pwd->pw_gecos);
131 free(pwd->pw_dir);
132 free(pwd->pw_shell);
136 sdump_passwd(struct passwd *pwd, char *buffer, size_t buflen) argument
139 pwd
146 dump_passwd(struct passwd *pwd) argument
157 passwd_read_snapshot_func(struct passwd *pwd, char *line) argument
239 struct passwd *pwd; local
254 passwd_test_correctness(struct passwd *pwd, void *mdata) argument
300 passwd_check_ambiguity(struct passwd_test_data *td, struct passwd *pwd) argument
310 struct passwd *pwd; local
341 struct passwd *pwd; local
366 passwd_test_getpwent(struct passwd *pwd, void *mdata) argument
[all...]
/barrelfish-2018-10-04/lib/openssl-1.0.0d/util/
H A Dfiles.pl40 $pwd=`pwd`; chop($pwd);
49 @_=split(/\//,$pwd);
H A Dmklink.pl24 my $pwd = getcwd();
25 chomp($pwd);
26 my @pwd_path = split(/[\\\/]/, $pwd);
34 # @pwd_path (interpreted is an absolute path) to the original pwd.
36 # At the end, @from_path (as a relative path from the original pwd)
38 # which means that @to_path then is a path from there to the original pwd.
/barrelfish-2018-10-04/lib/libc/gen/
H A Dgetpwent.c53 #include <pwd.h>
74 /* Counter as stored in /etc/pwd.db */
262 struct passwd *pwd; local
284 pwd = va_arg(ap, struct passwd *);
289 strlen(pwd->pw_name) + 1;
290 if (pwd->pw_passwd != NULL)
291 desired_size += strlen(pwd->pw_passwd) + 1;
292 if (pwd->pw_class != NULL)
293 desired_size += strlen(pwd->pw_class) + 1;
294 if (pwd
366 struct passwd *pwd; local
503 getpwent_r(struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument
541 getpwnam_r(const char *name, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument
580 getpwuid_r(uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **result) argument
619 pwd_init(struct passwd *pwd) argument
635 static struct passwd pwd; variable in typeref:struct:passwd
675 wrap_getpwnam_r(union key key, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **res) argument
683 wrap_getpwuid_r(union key key, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **res) argument
691 wrap_getpwent_r(union key key __unused, struct passwd *pwd, char *buffer, size_t bufsize, struct passwd **res) argument
813 struct passwd *pwd; local
966 pwdb_parse_entry_v3(char *buffer, size_t bufsize, struct passwd *pwd, int *errnop) argument
1037 pwdb_parse_entry_v4(char *buffer, size_t bufsize, struct passwd *pwd, int *errnop) argument
1108 struct passwd *pwd; local
1304 struct passwd *pwd; local
1478 compat_use_template(struct passwd *pwd, struct passwd *template, char *buffer, size_t bufsize) argument
1590 compat_redispatch(struct compat_state *st, enum nss_lookup_type how, enum nss_lookup_type lookup_how, const char *name, const char *lookup_name, uid_t uid, struct passwd *pwd, char *buffer, size_t bufsize, int *errnop) argument
1749 struct passwd *pwd; local
2002 __pw_parse_entry(char *buffer, size_t bufsize __unused, struct passwd *pwd, int master, int *errnop __unused) argument
[all...]
H A Dgetlogin.c38 #include <pwd.h>
H A Dglob.c87 #include <pwd.h>
422 struct passwd *pwd; local
459 (pwd = getpwnam(h)) != NULL) ||
460 (pwd = getpwuid(getuid())) != NULL)
461 h = pwd->pw_dir;
472 if ((pwd = getpwnam((char *)wbuf)) == NULL)
475 h = pwd->pw_dir;
H A Dpw_scan.c46 #include <pwd.h>
H A Dreadpassphrase.c32 #include <pwd.h>
/barrelfish-2018-10-04/lib/libc/net/
H A Dnss_compat.c199 struct passwd *pwd; local
207 pwd = va_arg(ap, struct passwd *);
211 nss_status = fn(name, pwd, buffer, bufsize, errnop);
214 *(struct passwd **)retval = pwd;
224 struct passwd *pwd; local
232 pwd = va_arg(ap, struct passwd *);
236 nss_status = fn(uid, pwd, buffer, bufsize, errnop);
239 *(struct passwd **)retval = pwd;
248 struct passwd *pwd; local
257 pwd
[all...]
H A Drcmd.c49 #include <pwd.h>
430 struct passwd *pwd; local
456 if ((pwd = getpwnam(luser)) == NULL)
458 (void)strcpy(pbuf, pwd->pw_dir);
467 (void)seteuid(pwd->pw_uid);
484 else if (sbuf.st_uid && sbuf.st_uid != pwd->pw_uid)
H A Drcmdsh.c48 #include <pwd.h>
/barrelfish-2018-10-04/lib/posixcompat/
H A Duserdb.h13 #include <pwd.h>
H A Dgeteuid.c11 #include <pwd.h>
H A Dgetpwent.c14 #include <pwd.h>
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dnetnamer.c52 #include <pwd.h>
78 struct passwd *pwd; local
134 pwd = getpwuid(uid);
135 if (pwd == NULL)
137 *uidp = pwd->pw_uid;
138 *gidp = pwd->pw_gid;
139 *gidlenp = _getgroups(pwd->pw_name, gidlist);
H A Dgetpublickey.c45 #include <pwd.h>
/barrelfish-2018-10-04/lib/libc/posix1e/
H A Dacl_to_text_nfs4.c36 #include <pwd.h>
51 struct passwd *pwd; local
70 pwd = getpwuid(*id);
72 pwd = NULL;
73 if (pwd == NULL)
76 snprintf(str, size, "user:%s", pwd->pw_name);
H A Dacl_id_to_name.c40 #include <pwd.h>
H A Dacl_from_text.c39 #include <pwd.h>
H A Dacl_from_text_nfs4.c36 #include <pwd.h>
/barrelfish-2018-10-04/lib/openssl-1.0.0d/tools/
H A Dc_rehash19 my $pwd;
22 $pwd=Cwd::getcwd();
24 $pwd=`pwd`; chomp($pwd);
26 my $path_delim = ($pwd =~ /^[a-z]\:/i) ? ';' : ':'; # DOS/Win32 or Unix delimiter?
55 $openssl="$pwd/$openssl" if (!-x $openssl);
56 chdir $pwd;
H A Dc_rehash.bak19 my $pwd;
22 $pwd=Cwd::getcwd();
24 $pwd=`pwd`; chomp($pwd);
26 my $path_delim = ($pwd =~ /^[a-z]\:/i) ? ';' : ':'; # DOS/Win32 or Unix delimiter?
55 $openssl="$pwd/$openssl" if (!-x $openssl);
56 chdir $pwd;
H A Dc_rehash.in19 my $pwd;
22 $pwd=Cwd::getcwd();
24 $pwd=`pwd`; chomp($pwd);
26 my $path_delim = ($pwd =~ /^[a-z]\:/i) ? ';' : ':'; # DOS/Win32 or Unix delimiter?
55 $openssl="$pwd/$openssl" if (!-x $openssl);
56 chdir $pwd;
/barrelfish-2018-10-04/lib/lwip2/src/netif/ppp/
H A Dupap.c605 const u_char *user, *pwd, *msg; local
634 pwd = (const u_char *) (p + ulen + 2);
644 ppp_print_string(pwd, wlen, printer, arg);
/barrelfish-2018-10-04/include/lwip2/netif/ppp/
H A Dupap.c605 const u_char *user, *pwd, *msg; local
634 pwd = (const u_char *) (p + ulen + 2);
644 ppp_print_string(pwd, wlen, printer, arg);

Completed in 236 milliseconds

12