Searched refs:pw (Results 1 - 12 of 12) sorted by relevance

/seL4-camkes-master/projects/musllibc/src/passwd/
H A Dputpwent.c5 int putpwent(const struct passwd *pw, FILE *f) argument
8 pw->pw_name, pw->pw_passwd, pw->pw_uid, pw->pw_gid,
9 pw->pw_gecos, pw->pw_dir, pw->pw_shell)<0 ? -1 : 0;
H A Dfgetpwent.c7 static struct passwd pw; local
10 __getpwent_a(f, &pw, &line, &size, &res);
H A Dgetpwent_a.c11 int __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res) argument
23 pw = 0;
29 pw->pw_name = s++;
32 *s++ = 0; pw->pw_passwd = s;
35 *s++ = 0; pw->pw_uid = atou(&s);
38 *s++ = 0; pw->pw_gid = atou(&s);
41 *s++ = 0; pw->pw_gecos = s;
44 *s++ = 0; pw->pw_dir = s;
47 *s++ = 0; pw->pw_shell = s;
51 *res = pw;
[all...]
H A Dgetpwent.c5 static struct passwd pw; variable in typeref:struct:passwd
21 __getpwent_a(f, &pw, &line, &size, &res);
28 __getpw_a(0, uid, &pw, &line, &size, &res);
35 __getpw_a(name, 0, &pw, &line, &size, &res);
H A Dgetpw_r.c4 #define FIX(x) (pw->pw_##x = pw->pw_##x-line+buf)
6 static int getpw_r(const char *name, uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument
15 rv = __getpw_a(name, uid, pw, &line, &len, res);
33 int getpwnam_r(const char *name, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument
35 return getpw_r(name, 0, pw, buf, size, res);
38 int getpwuid_r(uid_t uid, struct passwd *pw, char *buf, size_t size, struct passwd **res) argument
40 return getpw_r(0, uid, pw, buf, size, res);
H A Dgetpw_a.c20 int __getpw_a(const char *name, uid_t uid, struct passwd *pw, char **buf, size_t *size, struct passwd **res) argument
36 while (!(rv = __getpwent_a(f, pw, buf, size, res)) && *res) {
107 pw->pw_name = *buf;
108 pw->pw_passwd = pw->pw_name + passwdbuf[PWNAMELEN];
109 pw->pw_gecos = pw->pw_passwd + passwdbuf[PWPASSWDLEN];
110 pw->pw_dir = pw->pw_gecos + passwdbuf[PWGECOSLEN];
111 pw
[all...]
H A Dpwf.h11 int __getpwent_a(FILE *f, struct passwd *pw, char **line, size_t *size, struct passwd **res);
12 int __getpw_a(const char *name, uid_t uid, struct passwd *pw, char **buf, size_t *size, struct passwd **res);
/seL4-camkes-master/projects/musllibc/src/legacy/
H A Dcuserid.c8 struct passwd pw, *ppw; local
10 if (getpwuid_r(geteuid(), &pw, (void *)pwb, sizeof pwb, &ppw))
12 snprintf(buf, L_cuserid, "%s", pw.pw_name);
/seL4-camkes-master/projects/lwip/src/netif/ppp/
H A Deap.c1200 struct passwd *pw; local
1204 pw = getpwuid(getuid());
1205 if (pw == NULL || (user = pw->pw_dir) == NULL || user[0] == 0) {
/seL4-camkes-master/kernel/manual/tools/libsel4_tools/
H A Dbitfield_gen.py1646 dict(subs, part_mask=hex(2 ** pw - 1),
1647 part_value=hex(value & (2 ** pw - 1)))
1648 for pw in part_widths])
/seL4-camkes-master/kernel/libsel4/tools/
H A Dbitfield_gen.py1646 dict(subs, part_mask=hex(2 ** pw - 1),
1647 part_value=hex(value & (2 ** pw - 1)))
1648 for pw in part_widths])
/seL4-camkes-master/kernel/tools/
H A Dbitfield_gen.py1646 dict(subs, part_mask=hex(2 ** pw - 1),
1647 part_value=hex(value & (2 ** pw - 1)))
1648 for pw in part_widths])

Completed in 108 milliseconds