Lines Matching refs:allowed
118 Mask requested, Mask allowed) in SecurityDoCheck() argument
126 if ((requested | allowed) == allowed) in SecurityDoCheck()
700 Mask allowed = SecurityDeviceMask; in SecurityDevice() local
707 allowed = requested; in SecurityDevice()
709 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) { in SecurityDevice()
745 Mask allowed = SecurityResourceMask; in SecurityResource() local
756 allowed |= SecurityWindowExtraMask; in SecurityResource()
762 allowed |= SecurityRootWindowExtraMask; in SecurityResource()
766 allowed = requested; in SecurityResource()
770 allowed |= DixReadAccess; in SecurityResource()
775 if (SecurityDoCheck(subj, obj, requested, allowed) == Success) in SecurityResource()
815 Mask allowed = SecurityServerMask; in SecurityServer() local
820 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) { in SecurityServer()
834 Mask allowed = SecurityClientMask; in SecurityClient() local
839 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) { in SecurityClient()
854 Mask allowed = SecurityResourceMask | DixReadAccess; in SecurityProperty() local
859 if (SecurityDoCheck(subj, obj, requested, allowed) != Success) { in SecurityProperty()