Searched refs:pw_uid (Results 1 – 22 of 22) sorted by relevance
/external/dropbear/ |
D | svr-auth.c | 146 !(svr_opts.norootpass && ses.authstate.pw->pw_uid == 0) ) { in recv_msg_userauth_request() 159 !(svr_opts.norootpass && ses.authstate.pw->pw_uid == 0) ) { in recv_msg_userauth_request() 232 if (svr_opts.norootlogin && ses.authstate.pw->pw_uid == 0) { in checkusername() 280 TRACE(("uid = %d", ses.authstate.pw->pw_uid)) in checkusername() 363 if (ses.authstate.pw->pw_uid == 0) { in send_msg_userauth_success()
|
D | sshpty.c | 383 if (st.st_uid != pw->pw_uid || st.st_gid != gid) { in pty_setowner() 384 if (chown(tty_name, pw->pw_uid, gid) < 0) { in pty_setowner() 386 (st.st_uid == pw->pw_uid || st.st_uid == 0)) { in pty_setowner() 389 tty_name, (unsigned int)pw->pw_uid, (unsigned int)gid, in pty_setowner() 393 tty_name, (unsigned int)pw->pw_uid, (unsigned int)gid, in pty_setowner()
|
D | svr-agentfwd.c | 154 (seteuid(ses.authstate.pw->pw_uid)) < 0) { in agentcleanup() 217 (seteuid(ses.authstate.pw->pw_uid)) < 0) { in bindagent()
|
D | svr-authpubkey.c | 323 if (filestat.st_uid != ses.authstate.pw->pw_uid in checkfileperm()
|
D | svr-chansession.c | 916 if (setuid(ses.authstate.pw->pw_uid) < 0) { in execchild() 927 if (getuid() != ses.authstate.pw->pw_uid) { in execchild()
|
D | loginrec.c | 282 li->uid = pw->pw_uid; in login_init_entry()
|
/external/e2fsprogs/include/nonunix/ |
D | pwd.h | 14 __uid_t pw_uid; member
|
/external/dnsmasq/src/ |
D | log.c | 97 if (log_to_file && ent_pw && ent_pw->pw_uid != 0 && in log_start() 98 fchown(log_fd, ent_pw->pw_uid, -1) != 0) in log_start()
|
D | dnsmasq.c | 220 script_uid = ent_pw->pw_uid; in main() 250 if (ent_pw && ent_pw->pw_uid != 0) in main() 387 if (ent_pw && ent_pw->pw_uid != 0) in main() 428 if (setuid(ent_pw->pw_uid) == -1) in main()
|
/external/iptables/extensions/ |
D | libipt_owner.c | 69 ownerinfo->uid = pwd->pw_uid; in parse()
|
D | libip6t_owner.c | 68 ownerinfo->uid = pwd->pw_uid; in parse()
|
/external/tcpdump/ |
D | tcpdump.c | 393 setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) { in droproot() 396 (unsigned long)pw->pw_uid, in droproot()
|
/external/ipsec-tools/src/racoon/ |
D | cfparse.y | 298 lcconf->uid = pw->pw_uid; 2556 adminsock_owner = pw->pw_uid;
|
D | isakmp_xauth.c | 1207 if (pw->pw_uid == 0)
|
/external/e2fsprogs/misc/ |
D | tune2fs.c | 738 resuid = pw->pw_uid; in parse_tune2fs_options()
|
/external/bluetooth/glib/glib/ |
D | gutils.c | 1631 if (!pw || (pw->pw_uid != getuid ())) { in g_get_any_init_do() 1647 if (!pw || (pw->pw_uid != getuid ())) { in g_get_any_init_do()
|
/external/dnsmasq/contrib/lease-access/ |
D | lease.access.patch | 50 if (setuid(ent_pw->pw_uid) == -1)
|
/external/dbus/dbus/ |
D | dbus-sysdeps-unix.c | 1194 info->uid = p->pw_uid; in fill_user_info_from_passwd()
|
/external/ppp/pppd/ |
D | auth.c | 1636 (void)lseek(fd, (off_t)(pw->pw_uid * sizeof(ll)), SEEK_SET);
|
/external/strace/ |
D | strace.c | 336 run_uid = pent->pw_uid;
|
/external/qemu/ |
D | vl.c | 6292 if (setuid(pwd->pw_uid) < 0) { in main() 6293 fprintf(stderr, "Failed to setuid(%d)\n", pwd->pw_uid); in main()
|
D | vl-android.c | 6310 if (setuid(pwd->pw_uid) < 0) { in main() 6311 fprintf(stderr, "Failed to setuid(%d)\n", pwd->pw_uid); in main()
|