Lines Matching defs:subj

117 SecurityDoCheck(SecurityStateRec * subj, SecurityStateRec * obj,
120 if (!subj->haveState || !obj->haveState)
122 if (subj->trustLevel == XSecurityClientTrusted)
698 SecurityStateRec *subj, *obj;
702 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
709 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
742 SecurityStateRec *subj, *obj;
747 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
751 if (subj->haveState && subj->trustLevel != XSecurityClientTrusted)
775 if (SecurityDoCheck(subj, obj, requested, allowed) == Success)
790 SecurityStateRec *subj;
793 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
795 if (subj->haveState && subj->trustLevel == XSecurityClientTrusted)
813 SecurityStateRec *subj, *obj;
817 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
820 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
832 SecurityStateRec *subj, *obj;
836 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
839 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
851 SecurityStateRec *subj, *obj;
856 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
859 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
873 SecurityStateRec *subj, *obj;
878 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
881 if (SecurityDoCheck(subj, obj, DixSendAccess, 0) == Success)
905 SecurityStateRec *subj, *obj;
907 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
910 if (SecurityDoCheck(subj, obj, DixReceiveAccess, 0) == Success)