ACE access check differences between SelectInput & RRSelectInput

Adam Jackson ajax at nwnk.net
Mon Mar 9 13:52:38 PDT 2009


On Sun, 2009-03-08 at 09:44 -0700, Alan Coopersmith wrote:
> While tracking down problems with GTK+ applications starting up under
> Solaris Trusted Extensions since our move from Xorg 1.3 to 1.5.3, we've
> found that the root cause seems to be that ProcRRSelectInput is requesting
> we check for DixWriteAccess to write to the window (line 79 of
> randr/rrdispatch.c), while the normal XSelectInput() is handled via
> ProcChangeWindowAttributes, which checks for  DixReceiveAccess for
> requesting events from the window.
> 
> Is there some reason for this difference or any reason the check in
> ProcRRSelectInput shouldn't be changed to also be DixReceiveAccess ?

None that I can think of.  Selecting for input on a window doesn't
modify its state, so it's not "write" access.

- ajax
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://lists.x.org/archives/xorg-devel/attachments/20090309/12af757e/attachment.pgp 


More information about the xorg-devel mailing list