Lines Matching defs:subj

116 SecurityDoCheck(SecurityStateRec *subj, SecurityStateRec *obj,
119 if (!subj->haveState || !obj->haveState)
121 if (subj->trustLevel == XSecurityClientTrusted)
756 SecurityStateRec *subj, *obj;
760 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
767 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
800 SecurityStateRec *subj, *obj;
805 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
809 if (subj->haveState && subj->trustLevel != XSecurityClientTrusted)
833 if (SecurityDoCheck(subj, obj, requested, allowed) == Success)
849 SecurityStateRec *subj;
852 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
854 if (subj->haveState && subj->trustLevel == XSecurityClientTrusted)
872 SecurityStateRec *subj, *obj;
876 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
879 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
891 SecurityStateRec *subj, *obj;
895 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
898 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
910 SecurityStateRec *subj, *obj;
915 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
918 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) {
932 SecurityStateRec *subj, *obj;
937 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
940 if (SecurityDoCheck(subj, obj, DixSendAccess, 0) == Success)
964 SecurityStateRec *subj, *obj;
966 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
969 if (SecurityDoCheck(subj, obj, DixReceiveAccess, 0) == Success)