Lines Matching defs:gid
340 * from a gid an be inserted with no overflow.
356 * Compute the uid or gid associated to a SID
366 u32 xid; /* uid or gid */
461 gid_t gid, SID *defgsid)
469 if (!gid)
473 while (p && p->xid && ((gid_t)p->xid != gid))
485 uauth = le32_to_cpu(leauth) + 2*(gid & 0x3fffffff) + 1;
487 if (gid & 0xc0000000) {
489 uauth = le32_to_cpu(leauth) + ((gid >> 30) & 3);
529 gid_t gid;
539 gid = findimplicit(gsid,p->sid,1);
541 gid = (p ? p->xid : 0);
542 return (gid);
3700 gid_t gid;
3787 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3788 if (gid) {
3790 pxace->id = gid;
3791 pctx->prevgid = gid;
3848 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3849 if (gid) {
3850 pxace->id = gid;
3852 pctx->prevgid = gid;
3895 gid = ntfs_find_group(mapping[MAPGROUPS],&pace->sid);
3896 if (gid) {
3899 && (pctx->prevgid != gid)) {
3905 pxace->id = gid;
3906 pctx->prevgid = gid;
3921 /* specific decoding for vtx/uid/gid */
4246 /* decompose into uid, gid and sid */
4395 * Records with no uid and no gid are inserted
4438 * gid not associated to a uid are processed first in order
4457 int gid;
4468 gid = atoi(item->gidstr);
4470 gid = 0;
4474 gid = grp->gr_gid;
4481 * Records with no uid and no gid are inserted in the
4485 && (gid
4498 mapping->xid = gid;