/original-bsd/usr.bin/id/ |
H A D | Makefile | 4 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 D | id.c | 167 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 D | getgrouplist.c | 20 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 D | initgroups.c | 21 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 D | groups.c | 27 int groups[NGROUPS]; variable 39 ngroups = getgroups(NGROUPS, groups); 41 gr = getgrgid(groups[i]); 43 printf("%s%d", sep, groups[i]);
|
H A D | Makefile | 3 PROG= groups
|
/original-bsd/usr.sbin/amd/rpcx/ |
H A D | mount.h | 57 typedef struct groupnode *groups; typedef 63 groups gr_next; 75 groups ex_groups;
|
H A D | mount_xdr.c | 121 groups *objp;
|
/original-bsd/local/sccscmds/sccscmds.2/com/ |
H A D | permiss.c | 13 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 D | permiss.c | 13 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 D | chown.c | 215 int groups[NGROUPS]; local 227 ngroups = getgroups(NGROUPS, groups); 228 while (--ngroups >= 0 && gid != groups[ngroups]);
|
/original-bsd/usr.sbin/lpr/lpc/ |
H A D | lpc.c | 268 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 D | suid_exec.c | 265 int groups[NGROUPS]; local 267 n = getgroups(NGROUPS,groups); 270 if(groups[n] == statb.st_gid)
|
H A D | main.c | 679 int groups[NGROUPS]; local 681 n = getgroups(NGROUPS,groups); 684 if(groups[n] == statb.st_gid)
|
/original-bsd/usr.bin/mail/ |
H A D | glob.h | 44 struct grouphead *groups[HSHSIZE];/* Pointer to active groups */ variable
|
H A D | cmd3.c | 430 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 D | vars.c | 121 for (gh = groups[hash(name)]; gh != NOGRP; gh = gh->g_link)
|
/original-bsd/share/zoneinfo/datfiles/ |
H A D | africa | 10 # soc.* groups, you might hit someone who could ask an embassy).
|
/original-bsd/contrib/perl-4.036/ |
H A D | config_h.SH | 197 * 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 D | README | 43 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 D | mountd.c | 1733 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 D | README | 20 One or more groups of:
|
/original-bsd/usr.bin/spell/ |
H A D | special.4bsd | 381 groups
|
/original-bsd/local/ditroff/ditroff.okeeffe/pic/ |
H A D | UNDOC | 195 in to separate unrelated groups of relative motions.
|
/original-bsd/share/mk/ |
H A D | bsd.README | 100 The include file <bsd.own.mk> contains the owners, groups, etc. for both
|