Home
last modified time | relevance | path

Searched refs:egid (Results 1 – 4 of 4) sorted by relevance

/coreutils/src/
Dgroups.c71 gid_t rgid, egid; in main() local
108 egid = getegid (); in main()
109 if (egid == NO_GID && errno) in main()
117 if (!print_group_list (nullptr, ruid, rgid, egid, true, ' ')) in main()
134 rgid = egid = pwd->pw_gid; in main()
137 if (!print_group_list (argv[optind], ruid, rgid, egid, true, ' ')) in main()
Dgroup-list.c36 uid_t ruid, gid_t rgid, gid_t egid, in print_group_list() argument
52 if (egid != rgid) in print_group_list()
55 if (!print_group (egid, use_names)) in print_group_list()
62 int n_groups = xgetgroups (username, (pwd ? pwd->pw_gid : egid), &groups); in print_group_list()
78 if (groups[i] != rgid && groups[i] != egid) in print_group_list()
Did.c63 static gid_t rgid, egid; variable
256 rgid = egid = pwd->pw_gid; in main()
291 egid = getegid (); in main()
292 if (egid == NO_GID && errno) in main()
376 if (egid != rgid) in print_full_info()
378 printf (_(" egid=%s"), gidtostr (egid)); in print_full_info()
379 grp = getgrgid (egid); in print_full_info()
391 primary_group = egid; in print_full_info()
439 ok &= print_group (use_real ? rgid : egid, use_name); in print_stuff()
441 ok &= print_group_list (pw_name, ruid, rgid, egid, in print_stuff()
Dtest.c442 gid_t egid = getegid (); in unary_operator() local
444 return ! (egid == NO_GID && errno) && egid == stat_buf.st_gid; in unary_operator()