Re: Patch for use of RT_NONE busted by an update to resource.c | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Wed, 2008-08-06 at 14:25 -0600, Pete Zaitcev wrote: > Hi All: > > What would it take to include the attached patch for dixfonts.c? Uh, you've uncovered a serious bug in DIX. The XSELinux patches tried to automatically detect the difference between looking up a resource by class and looking up a resource by type. Turns out, it's hard to tell just by looking at the type/class parameter: RT_NONE has no bits set and is a Type lookup RT_WINDOW has lots of bits set, including some class bits and is a Type lookup RC_ANY has all bits set and is a class lookup I suggest that the attempt to automatically separate these lookup types was misguided and that we should have dixLookupResourceByType and dixLookupResourceByClass as separate functions once again. Please test and see if this patch doesn't solve your problem without eliminating the (valid) use of RT_NONE. -- keith.packard@xxxxxxxxx
Attachment:
0001-Replace-dixLookupResource-by-dixLookupResourceBy-Typ.patch
Description: application/mbox
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ xorg mailing list xorg@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/xorg
[X Forum] [Devices] [XFree86] [XFree86 Newbie] [Site Home] [IETF Annouce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Resources]