Lines Matching refs:sl

256 		if (tsolinfo->sl == NULL) {
257 tsolinfo->sl = (bslabel_t *)lookupSL_low();
366 tsolseln->sl = NULL;
407 AW_SLABEL, tsolinfo->sl,
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
700 bslabel_t *sl;
711 sl = (bslabel_t *)(stuff + 1);
715 tsolpolyinstinfo.sl = lookupSL(sl);
724 bslabel_t *sl;
774 sl = (bslabel_t *)(stuff + 1);
776 if (!blequal(tsolprop->sl, sl)) {
777 tsolprop->sl = lookupSL(sl);
845 bslabel_t *sl;
861 sl = (bslabel_t *)(stuff + 1);
864 memcpy(&SessionHI, sl, SL_SIZE);
868 memcpy(&SessionLO, sl, SL_SIZE);
907 if (!blequal(tsolres->sl, sl)) {
908 tsolres->sl = lookupSL(sl);
1081 bslabel_t *sl;
1111 sl = malloc(SL_SIZE);
1112 if (sl == NULL)
1118 memcpy(sl, res_tsolinfo->sl, SL_SIZE);
1140 WriteToClient(client, reply_length, (char *)sl);
1142 free(sl);
1155 bslabel_t *sl;
1193 tsolprop->sl == tsolpolyinstinfo.sl)
1197 tsolprop->sl == tsolinfo->sl) {
1218 sl = malloc(SL_SIZE);
1219 if (sl == NULL)
1225 memcpy(sl, tsolprop ? tsolprop->sl : tsolres->sl, SL_SIZE);
1249 WriteToClient(client, reply_length, (char *)sl);
1251 free(sl);
1263 bslabel_t *sl;
1316 sl = malloc(SL_SIZE);
1317 if (sl == NULL)
1323 memcpy(sl, tsolres->sl, SL_SIZE);
1349 WriteToClient(client, reply_length, (char *)sl);
1351 free(sl);
1548 bslabel_t *sl;
1566 tsolinfo->sl = NULL;
1583 sl = ucred_getlabel(uc);
1584 tsolinfo->sl = (bslabel_t *)lookupSL(sl);
1654 blequal(tsolinfo->sl, &admin_low)) {
1820 if ((tsolinfo->sl != NULL &&
1821 (bldominates(tsolinfo->sl, &SessionLO) &&
1822 bldominates(&SessionHI, tsolinfo->sl))) ||
1885 AW_SLABEL, tsolinfo->sl,
1891 AW_SLABEL, tsolinfo->sl,
2030 if (tsolseln->sl == NULL) {
2031 tsolseln->sl = tsolinfo->sl;
2038 /* for poly-selections, search from the beginning to see if sl,uid match */
2044 tsolseln->sl == tsolinfo->sl)
2060 /* Assign the sl & uid */
2061 tsolseln->sl = tsolinfo->sl;
2070 /* for poly-selections, search from the beginning to see if sl,uid match */
2076 tsolseln->sl == tsolinfo->sl)
2099 tsolseln->sl != tsolinfo->sl) &&
2153 if (tsolprop->sl == NULL) {
2156 tsolprop->sl = tsolinfo->sl; /* use client's sl/uid */
2164 tsolprop->sl = tsolres->sl; /* use window's sl/uid */
2187 if (tsolprop->sl == NULL) { /* New PolyProp */
2193 tsolprop->sl = tsolinfo->sl;
2197 /* search for a matching (sl, uid) pair */
2201 tsolprop->sl == tsolinfo->sl &&