Home
last modified time | relevance | path

Searched refs:gids (Results 1 – 12 of 12) sorted by relevance

/dragonfly/usr.sbin/chroot/
H A Dchroot.c62 int ch, gids; in main() local
111 for (gids = 0; in main()
112 (p = strsep(&grouplist, ",")) != NULL && gids < NGROUPS_MAX; ) { in main()
117 gidlist[gids] = (gid_t)strtoul(p, &endp, 0); in main()
123 gidlist[gids] = gp->gr_gid; in main()
127 gids++; in main()
129 if (p != NULL && gids == NGROUPS_MAX) in main()
149 if (gids && setgroups(gids, gidlist) == -1) in main()
/dragonfly/crypto/openssh/
H A Dsftp-usergroup.c103 u_int *uids, u_int nuids, u_int *gids, u_int ngids) in lookup_and_record() argument
124 debug3_f("gid %u not resolved", gids[i]); in lookup_and_record()
128 idname_enter(&group_idname, gids[i], groupnames[i]); in lookup_and_record()
177 u_int *uids = NULL, nuids = 0, *gids = NULL, ngids = 0; in get_remote_user_groups_from_glob() local
183 collect_ids_from_glob(g, 0, &gids, &ngids); in get_remote_user_groups_from_glob()
184 lookup_and_record(conn, uids, nuids, gids, ngids); in get_remote_user_groups_from_glob()
186 free(gids); in get_remote_user_groups_from_glob()
216 u_int *uids = NULL, nuids = 0, *gids = NULL, ngids = 0; in get_remote_user_groups_from_dirents() local
222 collect_ids_from_dirents(d, 0, &gids, &ngids); in get_remote_user_groups_from_dirents()
223 lookup_and_record(conn, uids, nuids, gids, ngids); in get_remote_user_groups_from_dirents()
[all …]
H A Dsftp-client.h192 const u_int *gids, u_int ngids,
H A Dsftp-server.c1727 struct sshbuf *uids, *gids, *usernames, *groupnames, *msg; in process_extended_get_users_groups_by_id() local
1737 (r = sshbuf_froms(iqueue, &gids)) != 0) in process_extended_get_users_groups_by_id()
1740 sshbuf_len(uids), sshbuf_len(gids)); in process_extended_get_users_groups_by_id()
1751 while (sshbuf_len(gids) != 0) { in process_extended_get_users_groups_by_id()
1752 if ((r = sshbuf_get_u32(gids, &n)) != 0) in process_extended_get_users_groups_by_id()
1771 sshbuf_free(gids); in process_extended_get_users_groups_by_id()
H A DPROTOCOL649 string gids
651 Where "uids" and "gids" consists of one or more integer user or group
664 order to "uids" and "gids" respectively:
672 It is acceptable for either "uids" or "gids" to be an empty set, in
H A Dsftp-client.c2770 const u_int *gids, u_int ngids, in do_get_users_groups_by_id() argument
2794 if ((r = sshbuf_put_u32(gidbuf, gids[i])) != 0) in do_get_users_groups_by_id()
/dragonfly/usr.sbin/keyserv/
H A Dkeyserv.c543 static u_int gids[NGROUPS]; in key_getcred_1_svc_prog() local
547 cred->gids.gids_val = gids; in key_getcred_1_svc_prog()
549 (int *)&cred->gids.gids_len, (gid_t *)gids)) { in key_getcred_1_svc_prog()
558 cred->uid, cred->gid, cred->gids.gids_len); in key_getcred_1_svc_prog()
/dragonfly/lib/libc/rpc/
H A Dkey_prot_xdr.c123 pgids_val = &objp->gids.gids_val; in xdr_unixcred()
124 if (!xdr_array(xdrs, (char **) pgids_val, (u_int *) &objp->gids.gids_len, MAXGIDS, in xdr_unixcred()
H A Dauth_unix.c182 gid_t gids[NGROUPS_MAX]; in authunix_create_default() local
189 if ((len = getgroups(NGROUPS_MAX, gids)) < 0) in authunix_create_default()
195 (int *)gids)); in authunix_create_default()
/dragonfly/include/rpcsvc/
H A Dkey_prot.x132 u_int gids<MAXGIDS>;
/dragonfly/contrib/libarchive/cpio/
H A Dcpio.c1147 char uids[16], gids[16]; in list_item_verbose() local
1169 strcpy(gids, cpio_i64toa(archive_entry_gid(entry))); in list_item_verbose()
1170 gname = gids; in list_item_verbose()
/dragonfly/usr.sbin/pfctl/
H A Dparse.y484 %type <v.gid> gids gid_list gid_item
2337 | GROUP gids {
3179 gids : gid_item { $$ = $1; }
5057 struct node_uid *uids, struct node_gid *gids, struct node_icmp *icmp_types, in expand_rule() argument
5090 LOOP_THROUGH(struct node_gid, gid, gids, in expand_rule()
5225 FREE_LIST(struct node_gid, gids); in expand_rule()