Home
last modified time | relevance | path

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

12

/original-bsd/usr.bin/id/
H A DMakefile4 MAN1= id.0 groups.0 whoami.0
8 ${.CURDIR}/groups.sh ${DESTDIR}/usr/bin/groups
11 ${MINSTALL} groups.0 ${DESTDIR}${MANDIR}1/groups.0
H A Did.c167 gid_t groups[NGROUPS]; in current() local
188 if (ngroups = getgroups(NGROUPS, groups)) { in current()
191 id = groups[cnt++]; in current()
208 int cnt, id, lastid, ngroups, groups[NGROUPS + 1]; local
216 (void) getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
219 if (lastid == (id = groups[cnt]))
237 gid_t groups[NGROUPS + 1]; local
242 (void) getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups);
244 groups[0] = getgid();
245 ngroups = getgroups(NGROUPS, groups + 1) + 1;
[all …]
/original-bsd/lib/libc/gen/
H A Dgetgrouplist.c20 getgrouplist(uname, agroup, groups, grpcnt) in getgrouplist() argument
23 register int *groups;
39 groups[ngroups++] = agroup;
41 groups[ngroups++] = agroup;
55 groups[ngroups++] = grp->gr_gid;
H A Dinitgroups.c21 int groups[NGROUPS], ngroups; local
24 if (getgrouplist(uname, agroup, groups, &ngroups) < 0)
27 if (setgroups(ngroups, groups) < 0) {
/original-bsd/old/groups/
H A Dgroups.c27 int groups[NGROUPS]; variable
39 ngroups = getgroups(NGROUPS, groups);
41 gr = getgrgid(groups[i]);
43 printf("%s%d", sep, groups[i]);
H A DMakefile3 PROG= groups
/original-bsd/usr.sbin/amd/rpcx/
H A Dmount.h57 typedef struct groupnode *groups; typedef
63 groups gr_next;
75 groups ex_groups;
H A Dmount_xdr.c121 groups *objp;
/original-bsd/local/sccscmds/sccscmds.2/com/
H A Dpermiss.c13 int gid, ngroups = NGROUPS, groups[NGROUPS]; local
18 if (getgroups(&ngroups, groups) < 0) {
30 if (gid == groups[i]) {
/original-bsd/local/sccscmds/sccscmds.ok/com/
H A Dpermiss.c13 int gid, ngroups = NGROUPS, groups[NGROUPS]; local
18 if (getgroups(&ngroups, groups) < 0) {
30 if (gid == groups[i]) {
/original-bsd/usr.sbin/chown/
H A Dchown.c215 int groups[NGROUPS]; local
227 ngroups = getgroups(NGROUPS, groups);
228 while (--ngroups >= 0 && gid != groups[ngroups]);
/original-bsd/usr.sbin/lpr/lpc/
H A Dlpc.c268 static gid_t groups[NGROUPS]; local
278 if (getgroups(NGROUPS, groups) < 0) {
285 if (gid == groups[i])
/original-bsd/local/toolchest/ksh/sh/
H A Dsuid_exec.c265 int groups[NGROUPS]; local
267 n = getgroups(NGROUPS,groups);
270 if(groups[n] == statb.st_gid)
H A Dmain.c679 int groups[NGROUPS]; local
681 n = getgroups(NGROUPS,groups);
684 if(groups[n] == statb.st_gid)
/original-bsd/usr.bin/mail/
H A Dglob.h44 struct grouphead *groups[HSHSIZE];/* Pointer to active groups */ variable
H A Dcmd3.c430 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link)
434 for (gh = groups[h]; gh != NOGRP; gh = gh->g_link)
452 gh->g_link = groups[h];
453 groups[h] = gh;
H A Dvars.c121 for (gh = groups[hash(name)]; gh != NOGRP; gh = gh->g_link)
/original-bsd/share/zoneinfo/datfiles/
H A Dafrica10 # soc.* groups, you might hit someone who could ask an embassy).
/original-bsd/contrib/perl-4.036/
H A Dconfig_h.SH197 * available to get the list of process groups. If unavailable, multiple
198 * groups are probably not supported.
/original-bsd/local/ditroff/ditroff.okeeffe/chem/
H A DREADME43 prints two CH3 groups with a bond between them.
239 There is no way to control entry point for bonds on groups.
/original-bsd/sbin/mountd/
H A Dmountd.c1733 int ngroups, groups[NGROUPS + 1]; local
1761 if (getgrouplist(pw->pw_name, pw->pw_gid, groups, &ngroups))
1767 cr->cr_groups[0] = groups[0];
1769 cr->cr_groups[cnt - 1] = groups[cnt];
/original-bsd/sys/ufs/lfs/
H A DREADME20 One or more groups of:
/original-bsd/usr.bin/spell/
H A Dspecial.4bsd381 groups
/original-bsd/local/ditroff/ditroff.okeeffe/pic/
H A DUNDOC195 in to separate unrelated groups of relative motions.
/original-bsd/share/mk/
H A Dbsd.README100 The include file <bsd.own.mk> contains the owners, groups, etc. for both

12