Home
last modified time | relevance | path

Searched refs:pw_gid (Results 1 – 11 of 11) sorted by relevance

/external/e2fsprogs/include/nonunix/
Dpwd.h15 __gid_t pw_gid; member
/external/dropbear/
Dsvr-agentfwd.c153 if ((setegid(ses.authstate.pw->pw_gid)) < 0 || in agentcleanup()
216 if ((setegid(ses.authstate.pw->pw_gid)) < 0 || in bindagent()
Dsshpty.c369 gid = pw->pw_gid; in pty_setowner()
Dsvr-chansession.c911 if ((setgid(ses.authstate.pw->pw_gid) < 0) || in execchild()
913 ses.authstate.pw->pw_gid) < 0)) { in execchild()
/external/dbus/bus/
Dactivation-helper.c325 if (initgroups (user, pw->pw_gid)) in switch_user()
333 if (setgid (pw->pw_gid)) in switch_user()
336 "cannot setgid group %i", pw->pw_gid); in switch_user()
/external/qemu/
Dos-posix.c210 if (setgid(user_pwd->pw_gid) < 0) { in change_process_uid()
211 fprintf(stderr, "Failed to setgid(%d)\n", user_pwd->pw_gid); in change_process_uid()
/external/oprofile/opjitconv/
Dopjitconv.c170 if (fchown(fd, pw_oprofile->pw_uid, pw_oprofile->pw_gid) != 0) { in change_owner()
374 if (setegid(pw_oprofile->pw_gid) != 0) { in process_jit_dumpfile()
/external/tcpdump/
Dtcpdump.c392 if (initgroups(pw->pw_name, pw->pw_gid) != 0 || in droproot()
393 setgid(pw->pw_gid) != 0 || setuid(pw->pw_uid) != 0) { in droproot()
397 (unsigned long)pw->pw_gid, in droproot()
/external/dnsmasq/src/
Ddnsmasq.c221 script_gid = ent_pw->pw_gid; in main()
240 gp = getgrgid(ent_pw->pw_gid); in main()
/external/strace/
Dstrace.c337 run_gid = pent->pw_gid;
/external/dbus/dbus/
Ddbus-sysdeps-unix.c1927 info->primary_gid = p->pw_gid; in fill_user_info_from_passwd()