Home
last modified time | relevance | path

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

/coreutils/src/
Dgroups.c71 gid_t rgid, egid; in main() local
113 rgid = getgid (); in main()
114 if (rgid == 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
49 if (!print_group (rgid, use_names)) in print_group_list()
52 if (egid != rgid) 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()
296 rgid = getgid (); in main()
297 if (rgid == NO_GID && errno) in main()
363 printf (_(" gid=%s"), gidtostr (rgid)); in print_full_info()
364 grp = getgrgid (rgid); in print_full_info()
376 if (egid != rgid) 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()
Dinstall.c207 gid_t rgid = getgid (); in need_copy() local
208 if ((rgid == (uid_t) -1 && errno) || dest_sb.st_gid != rgid) in need_copy()