Home
last modified time | relevance | path

Searched refs:groups (Results 1 – 25 of 29) sorted by relevance

12

/coreutils/src/
Dchroot.c94 parse_additional_groups (char const *groups, GETGROUPS_T **pgids, in parse_additional_groups() argument
100 char *buffer = xstrdup (groups); in parse_additional_groups()
152 error (0, 0, _("invalid group list %s"), quote (groups)); in parse_additional_groups()
225 char const *groups = nullptr; in main() local
260 groups = optarg; in main()
305 if (uid_set (uid) && (! groups || gid_unset (gid))) in main()
316 if (groups && *groups) in main()
317 ignore_value (parse_additional_groups (groups, &out_gids, &n_gids, in main()
320 else if (! groups && gid_set (gid) && username) in main()
365 if (uid_set (uid) && (! groups || gid_unset (gid))) in main()
[all …]
Dgroup-list.c60 gid_t *groups; in print_group_list() local
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()
81 if (!print_group (groups[i], use_names)) in print_group_list()
84 free (groups); in print_group_list()
Did.c385 gid_t *groups; in print_full_info() local
393 int n_groups = xgetgroups (username, primary_group, &groups); in print_full_info()
411 fputs (gidtostr (groups[i]), stdout); in print_full_info()
412 grp = getgrgid (groups[i]); in print_full_info()
416 free (groups); in print_full_info()
D.gitignore42 groups
/coreutils/tests/groups/
Dgroups-process-all.sh21 print_ver_ groups
23 returns_ 1 groups :1 :2 :3 2> err || fail=1
Dgroups-version.sh20 print_ver_ groups
22 groups --version | sed 's/^groups/id/; /^$/q' > out || fail=1
Dgroups-dash.sh20 print_ver_ groups
29 returns_ 1 groups $user -- > out 2>&1 || fail=1
/coreutils/man/
Dgroups.x2 groups \- print the groups a user is in
D.gitignore33 groups.1
Dlocal.mk103 man/groups.1: src/groups$(EXEEXT)
/coreutils/tests/id/
Dsetgid.sh36 chroot --skip-chdir --user=$NON_ROOT_USERNAME:+$gp1 --groups='' / \
42 chroot --skip-chdir --user=$NON_ROOT_USERNAME:+$gp1 --groups='' / \
/coreutils/tests/chroot/
Dchroot-credentials.sh41 returns_ $EXIT_CANCELED chroot --groups="$g" / id -G >invalid || fail=1
71 --groups=$NON_ROOT_GROUP / id -G
/coreutils/tests/chgrp/
Ddefault-no-deref.sh24 set _ $groups; shift
Dposix-H.sh24 set _ $groups; shift
Dno-x.sh26 set _ $groups; shift
Drecurse.sh24 set _ $groups; shift
Dderef.sh23 set _ $groups; shift
Dbasic.sh24 set _ $groups; shift
/coreutils/tests/cp/
Dexisting-perm-race.sh29 set _ $groups; shift
Dpreserve-gid.sh130 --groups="+$nameless_gid1,+$nameless_gid2" \
/coreutils/
Dinit.cfg485 # Set 'groups' to a space-separated list of at least two groups
491 groups=
496 # as they are possibly reserved groups like 'nogroup'.
500 *) test -z "$groups" || groups="$groups "
501 groups="$groups$group_";;
504 case "$groups" in
506 *) skip_ 'requires membership in two groups
509 are a member of at least two groups, then rerun this test with
DAUTHORS38 groups: David MacKenzie, James Youngman
/coreutils/po/
DPOTFILES.in71 src/groups.c
/coreutils/tests/
Dlocal.mk322 tests/groups/groups-dash.sh \
323 tests/groups/groups-process-all.sh \
324 tests/groups/groups-version.sh \
/coreutils/scripts/git-hooks/
Dcommit-msg19 env expand expr factor false fmt fold groups head hostid hostname id

12