Lines Matching defs:rec

755     XaceDeviceAccessRec *rec = calldata;
757 Mask requested = rec->access_mode;
760 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
763 if (rec->dev != inputInfo.keyboard)
769 "%s\n", rec->client->index,
770 SecurityLookupRequestName(rec->client));
771 rec->status = BadAccess;
799 XaceResourceAccessRec *rec = calldata;
801 int cid = CLIENT_ID(rec->id);
802 Mask requested = rec->access_mode;
805 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
808 if ((requested & DixCreateAccess) && (rec->rtype == RT_WINDOW))
810 ((WindowPtr)rec->res)->forcedBG = TRUE;
813 if (rec->rtype == RT_WINDOW)
818 if (rec->rtype & RC_DRAWABLE)
822 else if (rec->rtype == RT_COLORMAP)
838 "of client %d on request %s\n", rec->client->index,
839 requested, rec->id, cid,
840 SecurityLookupRequestName(rec->client));
841 rec->status = BadAccess; /* deny access */
848 XaceExtAccessRec *rec = calldata;
852 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
858 if (!strcmp(SecurityTrustedExtensions[i++], rec->ext->name))
863 rec->client->index, rec->ext->name,
864 SecurityLookupRequestName(rec->client));
865 rec->status = BadAccess;
871 XaceServerAccessRec *rec = calldata;
873 Mask requested = rec->access_mode;
876 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
881 "configuration request %s\n", rec->client->index,
882 SecurityLookupRequestName(rec->client));
883 rec->status = BadAccess;
890 XaceClientAccessRec *rec = calldata;
892 Mask requested = rec->access_mode;
895 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
896 obj = dixLookupPrivate(&rec->target->devPrivates, stateKey);
900 "request %s\n", rec->client->index, rec->target->index,
901 SecurityLookupRequestName(rec->client));
902 rec->status = BadAccess;
909 XacePropertyAccessRec *rec = calldata;
911 ATOM name = (*rec->ppProp)->propertyName;
912 Mask requested = rec->access_mode;
915 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
916 obj = dixLookupPrivate(&wClient(rec->pWin)->devPrivates, stateKey);
921 rec->client->index, NameForAtom(name), name,
922 rec->pWin->drawable.id, wClient(rec->pWin)->index,
923 SecurityLookupRequestName(rec->client));
924 rec->status = BadAccess;
931 XaceSendAccessRec *rec = calldata;
934 if (rec->client) {
937 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
938 obj = dixLookupPrivate(&wClient(rec->pWin)->devPrivates, stateKey);
943 for (i = 0; i < rec->count; i++)
944 if (rec->events[i].u.u.type != UnmapNotify &&
945 rec->events[i].u.u.type != ConfigureRequest &&
946 rec->events[i].u.u.type != ClientMessage) {
950 rec->client->index,
951 LookupEventName(rec->events[i].u.u.type),
952 rec->pWin->drawable.id,
953 wClient(rec->pWin)->index);
954 rec->status = BadAccess;
963 XaceReceiveAccessRec *rec = calldata;
966 subj = dixLookupPrivate(&rec->client->devPrivates, stateKey);
967 obj = dixLookupPrivate(&wClient(rec->pWin)->devPrivates, stateKey);
974 rec->client->index, rec->pWin->drawable.id,
975 wClient(rec->pWin)->index);
976 rec->status = BadAccess;