Searched refs:pw (Results 26 - 50 of 143) sorted by relevance

123456

/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/util-linux/
H A Dipcs.c97 struct passwd *pw; local
102 if ((pw = getpwuid(ipcp->cuid)))
103 printf(" %-10s", pw->pw_name);
111 if ((pw = getpwuid(ipcp->uid)))
112 printf(" %-10s", pw->pw_name);
129 struct passwd *pw; local
202 pw = getpwuid(ipcp->uid);
205 if (pw)
206 printf("%-10d %-10.10s", shmid, pw->pw_name);
218 if (pw)
255 struct passwd *pw; local
361 struct passwd *pw; local
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/nsswitch/
H A Dwinbindd_user.c74 struct winbindd_pw *pw)
79 if (!pw || !dom_name || !user_name)
84 if (!NT_STATUS_IS_OK(idmap_sid_to_uid(user_sid, &pw->pw_uid))) {
91 if (!NT_STATUS_IS_OK(idmap_sid_to_gid(group_sid, &pw->pw_gid))) {
102 safe_strcpy(pw->pw_name, output_username, sizeof(pw->pw_name) - 1);
106 safe_strcpy(pw->pw_gecos, full_name, sizeof(pw->pw_gecos) - 1);
113 pw->pw_uid, pw
71 winbindd_fill_pwent(char *dom_name, char *user_name, DOM_SID *user_sid, DOM_SID *group_sid, char *full_name, char *homedir, char *shell, struct winbindd_pw *pw) argument
280 struct winbindd_pw *pw; local
[all...]
H A Didmap_nss.c59 struct passwd *pw; local
67 pw = getpwuid((uid_t)ids[i]->xid.id);
69 if (!pw) {
73 name = pw->pw_name;
149 struct passwd *pw; local
174 pw = Get_Pwnam(name);
175 if (pw) {
176 ids[i]->xid.id = pw->pw_uid;
H A Dwinbind_nss_irix.c241 struct winbindd_pw *pw = &response.data.pw; local
247 pw->pw_name,
248 pw->pw_passwd,
249 pw->pw_uid,
250 pw->pw_gid,
251 pw->pw_gecos,
252 pw->pw_dir,
253 pw->pw_shell);
359 struct winbindd_pw *pw local
[all...]
H A Dwinbind_nss_netbsd.c268 struct passwd *pw = va_arg(ap, struct passwd *); local
278 rv = _nss_winbind_getpwent_r(pw, buffer, buflen, rerrno);
280 *result = pw;
307 struct passwd *pw = va_arg(ap, struct passwd *); local
317 rv = _nss_winbind_getpwnam_r(name, pw, buffer, buflen, &rerrno);
319 *result = pw;
346 struct passwd *pw = va_arg(ap, struct passwd *); local
356 rv = _nss_winbind_getpwuid_r(uid, pw, buffer, buflen, &rerrno);
358 *result = pw;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/i2c/busses/
H A Di2c-simtec.c47 static void simtec_i2c_setsda(void *pw, int state) argument
49 struct simtec_i2c_data *pd = pw;
53 static void simtec_i2c_setscl(void *pw, int state) argument
55 struct simtec_i2c_data *pd = pw;
59 static int simtec_i2c_getsda(void *pw) argument
61 struct simtec_i2c_data *pd = pw;
65 static int simtec_i2c_getscl(void *pw) argument
67 struct simtec_i2c_data *pd = pw;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/lib/
H A Dcurl_ntlm_core.c319 unsigned char pw[14]; local
325 Curl_strntoupper((char *)pw, password, len);
326 memset(&pw[len], 0, 14 - len);
332 res = Curl_convert_to_network(data, (char *)pw, 14);
342 setup_des_key(pw, DESKEY(ks));
346 setup_des_key(pw + 7, DESKEY(ks));
351 setup_des_key(pw, &des);
353 setup_des_key(pw + 7, &des);
359 setup_des_key(pw, &des);
364 setup_des_key(pw
419 unsigned char *pw = malloc(len * 2); local
[all...]
H A Dnetrc.c82 struct passwd *pw; local
83 pw= getpwuid(geteuid());
84 if(pw) {
85 home = pw->pw_dir;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/
H A Dutil.c112 wchar_t *isshexpw(pw)
113 wchar_t *pw; /* candidate sh expression */
114 /* If pw is a sh expression, a pointer to the first special character is
117 for (; *pw; pw++)
118 if (*pw == (wchar_t)'\\' && *(pw+1))
119 pw++;
120 else if (*pw == (wchar_t)WILDCHR_SINGLE || *pw
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/testsuite/smbd/
H A Dse_access_check_printer.c65 struct passwd *pw; local
68 if (!(pw = getpwnam(username))) {
74 return se_access_check(sd, pw->pw_uid, pw->pw_gid, 0, NULL,
H A Dse_access_check_utils.c129 void visit_pwdb(BOOL (*fn)(struct passwd *pw, int ngroups, gid_t *groups)) argument
131 struct passwd *pw; local
137 while ((pw = getpwent())) {
149 result = fn(pw, ngroups, groups);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dplatform.h59 struct passwd *pw; member in struct:platform_state_user
90 if (s->pw)
91 return s->pw->pw_uid;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/curl/curl-7.36.0/src/
H A Dtool_homedir.c77 struct passwd *pw = getpwuid(geteuid()); local
79 if(pw) {
80 home = pw->pw_dir;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/demos/maurice/
H A Dexample3.c47 void do_cipher(char *pw, int operation) argument
58 EVP_BytesToKey(ALG, EVP_md5(), "salu", pw, strlen(pw), 1, key, iv);
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/loginutils/
H A Dvlock.c22 static struct passwd *pw; variable in typeref:struct:passwd
53 pw = getpwuid(uid);
54 if (pw == NULL)
108 printf("Virtual Console%s locked by %s.\n", (o_lock_all) ? "s" : "", pw->pw_name);
109 if (correct_password(pw)) {
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/mtools-4.0.10/
H A Dmisc.c35 struct passwd *pw; local
48 pw = 0;
54 pw = getpwnam( username);
56 if ( pw == 0 ){
59 pw = getpwuid(uid);
63 if ( pw )
64 return pw->pw_dir;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/dbus-1.6.8/bus/
H A Dactivation-helper.c171 struct passwd *pw; local
173 pw = NULL;
178 pw = getpwnam(dbus_user);
179 if (!pw)
186 if (pw->pw_uid != uid)
295 struct passwd *pw; local
298 pw = getpwnam (user);
299 if (!pw)
307 if (initgroups (user, pw->pw_gid))
315 if (setgid (pw
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/samba-3.0.25b/source/auth/
H A Dpass_check.c101 struct passwd *pw; local
154 struct passwd *pw; local
158 (sec_login_passwd_t *) & pw, &err);
178 (unsigned char *)pw->pw_name,
185 pw->pw_name, dce_errstr));
198 pw->pw_name, dce_errstr));
220 (sec_login_passwd_t *) & pw, &err);
249 set_effective_gid(pw->pw_gid);
250 set_effective_uid(pw->pw_uid);
263 (sec_login_passwd_t *) & pw,
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/radvd/
H A Dradvd.c617 struct passwd *pw = NULL; local
618 pw = getpwnam(username);
619 if (pw) {
620 if (initgroups(username, pw->pw_gid) != 0 || setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) {
622 username, pw->pw_uid, pw->pw_gid);
637 struct passwd *pw = NULL; local
653 pw
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/radvd/
H A Dradvd.c628 struct passwd *pw = NULL; local
629 pw = getpwnam(username);
630 if (pw) {
631 if (initgroups(username, pw->pw_gid) != 0 || setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) {
633 username, pw->pw_uid, pw->pw_gid);
648 struct passwd *pw = NULL; local
664 pw
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/volume_id/
H A Dvol_id.c240 struct passwd *pw; local
242 pw = getpwnam("nobody");
243 if (pw != NULL && pw->pw_uid > 0 && pw->pw_gid > 0) {
245 setgid(pw->pw_gid) != 0 ||
246 setuid(pw->pw_uid) != 0)
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/wget-1.12/src/
H A Dhttp-ntlm.c239 unsigned char *pw;
247 pw = (unsigned char *) alloca (len < 7 ? 14 : len * 2);
253 pw[i] = c_toupper (password[i]);
256 pw[i] = 0;
262 setup_des_key(pw, DESKEY(ks));
266 setup_des_key(pw+7, DESKEY(ks));
283 pw[2*i] = password[i];
284 pw[2*i+1] = 0;
288 MD4_Update(&MD4, pw, 2*len);
237 unsigned char *pw; local
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ncftp-3.2.5/source/libncftp/
H A Du_gethome.c50 struct passwd pw;
53 if (GetMyPwEnt(&pw, pwbuf, sizeof(pwbuf)) == 0) {
54 (void) Strncpy(dst, pw.pw_dir, size);
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/arm/mach-s3c2410/
H A Dusb-simtec.c62 usb_simtec_ocirq(int irq, void *pw) argument
64 struct s3c2410_hcd_info *info = pw;
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/zip30/win32/
H A Dwin32zip.c112 wchar_t *pw; /* malloc'd temporary string */ local
120 if ((pw = (wchar_t *)malloc(wcslen(nw) * sizeof(wchar_t) +
125 wcscpy(pw, nw);
127 qw = pw + wcslen(pw);
128 if ((qw - pw) > 0 && wcschr(pw, (wchar_t)':') == (qw - 1))
130 if ((qw - pw) > 0 && wcschr(pw, (wchar_t)'/') != (qw - 1))
138 dw->d_hFindFile = FindFirstFileW(pw,
987 wchar_t *pw; /* wide path */ local
1244 wchar_t *pw; /* path for recursion */ local
[all...]

Completed in 269 milliseconds

123456