Searched refs:thisuser (Results 1 - 2 of 2) sorted by relevance

/freebsd-10-stable/contrib/opie/
H A Dopiesu.c120 static struct passwd thisuser, nouser; variable in typeref:struct:passwd
148 memcpy(&thisuser, &nouser, sizeof(thisuser));
153 thisuser.pw_uid = pwd->pw_uid;
154 thisuser.pw_gid = pwd->pw_gid;
156 if (!(thisuser.pw_name = malloc(strlen(pwd->pw_name) + 1)))
158 strcpy(thisuser.pw_name, pwd->pw_name);
160 if (!(thisuser.pw_dir = malloc(strlen(pwd->pw_dir) + 1)))
162 strcpy(thisuser.pw_dir, pwd->pw_dir);
164 if (!(thisuser
[all...]
H A Dopielogin.c175 static struct passwd thisuser; variable in typeref:struct:passwd
245 memcpy(&thisuser, &nouser, sizeof(thisuser));
250 thisuser.pw_uid = pwd->pw_uid;
251 thisuser.pw_gid = pwd->pw_gid;
253 if (!(thisuser.pw_name = malloc(strlen(pwd->pw_name) + 1)))
255 strcpy(thisuser.pw_name, pwd->pw_name);
257 if (!(thisuser.pw_dir = malloc(strlen(pwd->pw_dir) + 1)))
259 strcpy(thisuser.pw_dir, pwd->pw_dir);
261 if (!(thisuser
[all...]

Completed in 52 milliseconds