Lines Matching refs:uid

258 			tsolinfo->uid = 0;
565 swapl(&stuff->uid);
591 swapl(&stuff->uid);
615 swapl(&stuff->uid);
691 * get the prop. that has match sl, uid of the client. Setting
693 * sl, uid specified instead of that of client. This is used
714 tsolpolyinstinfo.uid = (uid_t) stuff->uid;
836 tsolprop->uid = stuff->uid;
953 StripeHeight = stuff->uid;
965 OwnerUID = stuff->uid;
1010 tsolres->uid = stuff->uid;
1050 rep.uid = (CARD32) res_tsolinfo->uid;
1061 swapl(&rep.uid);
1192 if (tsolprop->uid == tsolpolyinstinfo.uid &&
1196 if (tsolprop->uid == tsolinfo->uid &&
1214 rep.uid = tsolprop ? tsolprop->uid : tsolres->uid;
1240 swapl(&rep.uid);
1283 rep.uid = ScreenStripeHeight[stuff->id];
1312 rep.uid = tsolres->uid;
1338 swapl(&rep.uid);
1565 tsolinfo->uid = (uid_t)(-1);
1578 tsolinfo->uid = ucred_getruid(uc);
1610 * For remote hosts, the uid is determined during access control
1782 if (tsolinfo->uid == (uid_t) -1) {
1783 /* Retrieve uid from SecureRPC */
1792 tsolinfo->uid = client_uid;
1800 if (tsolinfo->uid == (uid_t)-1) {
1801 tsolinfo->uid = UID_NOBODY; /* uid not available */
1819 if (tsolinfo->uid == OwnerUID) {
1824 auth_token = (XID)(tsolinfo->uid);
1828 if (tsolinfo->uid == 0 && HasTrustedPath(tsolinfo)) {
1829 auth_token = (XID)(tsolinfo->uid);
1832 * Access check based on uid. Check if
1837 if (!user2netname(netname, tsolinfo->uid, domainname)) {
1842 return ((XID)(tsolinfo->uid));
2032 tsolseln->uid = tsolinfo->uid;
2038 /* for poly-selections, search from the beginning to see if sl,uid match */
2043 if (tsolseln->uid == tsolinfo->uid &&
2060 /* Assign the sl & uid */
2062 tsolseln->uid = tsolinfo->uid;
2070 /* for poly-selections, search from the beginning to see if sl,uid match */
2075 if (tsolseln->uid == tsolinfo->uid &&
2098 (tsolseln->uid != tsolinfo->uid ||
2154 /* Initialize with label/uid etc */
2156 tsolprop->sl = tsolinfo->sl; /* use client's sl/uid */
2157 tsolprop->uid = tsolinfo->uid;
2164 tsolprop->sl = tsolres->sl; /* use window's sl/uid */
2165 tsolprop->uid = tsolres->uid;
2192 /* Initialize with label/uid */
2194 tsolprop->uid = tsolinfo->uid;
2197 /* search for a matching (sl, uid) pair */
2202 tsolprop->uid == tsolinfo->uid)