Lines Matching refs:gid
333 * from a gid an be inserted with no overflow.
349 * Compute the uid or gid associated to a SID
359 u32 xid; /* uid or gid */
454 gid_t gid, SID *defgsid)
462 if (!gid)
466 while (p && p->xid && ((gid_t)p->xid != gid))
478 uauth = le32_to_cpu(leauth) + 2*(gid & 0x3fffffff) + 1;
480 if (gid & 0xc0000000) {
482 uauth = le32_to_cpu(leauth) + ((gid >> 30) & 3);
522 gid_t gid;
532 gid = findimplicit(gsid,p->sid,1);
534 gid = (p ? p->xid : 0);
535 return (gid);
3693 gid_t gid;
3780 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3781 if (gid) {
3783 pxace->id = gid;
3784 pctx->prevgid = gid;
3841 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3842 if (gid) {
3843 pxace->id = gid;
3845 pctx->prevgid = gid;
3888 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3889 if (gid) {
3892 && (pctx->prevgid != gid)) {
3898 pxace->id = gid;
3899 pctx->prevgid = gid;
3914 /* specific decoding for vtx/uid/gid */
4237 /* decompose into uid, gid and sid */
4386 * Records with no uid and no gid are inserted
4429 * gid not associated to a uid are processed first in order
4448 int gid;
4459 gid = atoi(item->gidstr);
4461 gid = 0;
4465 gid = grp->gr_gid;
4472 * Records with no uid and no gid are inserted in the
4476 && (gid
4489 mapping->xid = gid;