Home
last modified time | relevance | path

Searched refs:run_gid (Results 1 – 3 of 3) sorted by relevance

/external/ltrace/
Dexecute_program.c43 gid_t run_gid, run_egid; in change_uid() local
58 run_gid = pent->pw_gid; in change_uid()
60 if (initgroups(options.user, run_gid) < 0) { in change_uid()
66 run_gid = getgid(); in change_uid()
71 run_egid = run_gid; in change_uid()
81 if (setregid(run_gid, run_egid) < 0) { in change_uid()
/external/strace/
Dstrace.c147 static gid_t run_gid; variable
1142 if (initgroups(username, run_gid) < 0) { in exec_or_die()
1145 if (setregid(run_gid, params->run_egid) < 0) { in exec_or_die()
1253 params_for_tracee.run_egid = (statbuf.st_mode & S_ISGID) ? statbuf.st_gid : run_gid; in startup_child()
1676 run_gid = pent->pw_gid; in init()
1680 run_gid = getgid(); in init()
DChangeLog-CVS5278 * strace.c (main): Ensure that run_uid and run_gid are