Home
last modified time | relevance | path

Searched refs:gr_gid (Results 1 – 25 of 58) sorted by relevance

123

/openbsd/gnu/usr.bin/perl/lib/User/
H A Dgrent.pm7 our ($gr_name, $gr_gid, $gr_passwd, @gr_members);
11 @EXPORT_OK = qw($gr_name $gr_gid $gr_passwd @gr_members);
29 ($gr_name, $gr_passwd, $gr_gid) = @$gob[0,1,2] = @_[0,1,2];
/openbsd/regress/lib/libpthread/group/
H A Dgroup.c59 ASSERT(grp->gr_gid == gid); in test()
75 ogid = grp->gr_gid; in test()
87 printf("now: %s:%s:%d:", grp->gr_name, grp->gr_passwd, grp->gr_gid); in test()
120 printf("after: %s:%s:%d:", grp->gr_name, grp->gr_passwd, grp->gr_gid); in test()
138 if (grp->gr_gid != ogid) in test()
/openbsd/lib/libc/gen/
H A Dgetgrouplist.c175 if (grp->gr_gid == agroup) in getgrouplist()
178 if (groups[i] == grp->gr_gid) in getgrouplist()
188 groups[ngroups++] = grp->gr_gid; in getgrouplist()
H A Dgetgrent.c394 p_gr->gr_gid = ul; in grscan()
396 p_gr->gr_gid = gid; in grscan()
444 p_gr->gr_gid = ul; in grscan()
445 if (search && name == NULL && p_gr->gr_gid != gid) in grscan()
H A Dpwcache.c425 *gid = gr->gr_gid; in gid_from_group()
435 *gid = ptr->gid = gr->gr_gid; in gid_from_group()
/openbsd/gnu/usr.bin/binutils/include/mpw/
H A Dgrp.h7 gid_t gr_gid; member
/openbsd/gnu/usr.bin/cvs/windows-NT/
H A Dpwd.h41 int gr_gid; member
H A Dpwd.c75 gr.gr_gid = 0; in getgrgid()
/openbsd/gnu/usr.bin/cvs/os2/
H A Dpwd.h41 int gr_gid; member
H A Dpwd.c74 gr.gr_gid = 0; in getgrgid()
/openbsd/include/
H A Dgrp.h53 gid_t gr_gid; /* group id */ member
/openbsd/usr.bin/quota/
H A Dquota.c275 if (grp->gr_gid != mygid) { in showgrpname()
277 if (grp->gr_gid == gidset[i]) in showgrpname()
281 grp->gr_name, grp->gr_gid); in showgrpname()
285 showquotas(GRPQUOTA, grp->gr_gid, grp->gr_name); in showgrpname()
/openbsd/libexec/login_token/
H A Dtokendb.c184 if (statb.st_uid != 0 || statb.st_gid != grp->gr_gid) { in tokendb_open()
217 if (must_set_perms && fchown((tokendb->fd)(tokendb), 0, grp->gr_gid)) in tokendb_open()
/openbsd/regress/sys/kern/ptmget/
H A Dptmget.c31 ttygid = gr->gr_gid; in main()
/openbsd/usr.sbin/chroot/
H A Dchroot.c102 gidlist[ngids++] = grp->gr_gid; in main()
/openbsd/sbin/mount_ntfs/
H A Dmount_ntfs.c142 return gr->gr_gid; in a_gid()
/openbsd/usr.bin/chpass/
H A Dfield.c125 pw->pw_gid = gr->gr_gid; in p_gid()
/openbsd/sbin/mount_msdos/
H A Dmount_msdos.c161 return gr->gr_gid; in a_gid()
/openbsd/usr.bin/ssh/
H A Dsshpty.c146 gid = (grp != NULL) ? grp->gr_gid : pw->pw_gid; in pty_setowner()
/openbsd/usr.sbin/kvm_mkdb/
H A Dkvm_mkdb.c80 kvm_gid = gr->gr_gid; in main()
/openbsd/sbin/mount_tmpfs/
H A Dmount_tmpfs.c210 return gr->gr_gid; in a_gid()
/openbsd/usr.sbin/lpr/lpc/
H A Dlpc.c293 gid = gptr->gr_gid; in ingroup()
/openbsd/usr.bin/rsync/
H A Dids.c120 id = grp->gr_gid; in idents_remap()
/openbsd/gnu/usr.bin/cvs/src/
H A Dadmin.c404 if (grps[i] == grp->gr_gid) break;
415 if (!*grnam && getgid() != grp->gr_gid)
/openbsd/sbin/quotacheck/
H A Dquotacheck.c183 (void) addid(gr->gr_gid, GRPQUOTA, gr->gr_name); in main()
536 return (gr->gr_gid); in getquotagid()

123