[PATCH 0/37] Extension handling cleanup, death to extmod

Daniel Stone daniel at fooishbar.org
Tue Jun 28 12:27:16 PDT 2011


Hi,
The following patch series cleans up extension handling pretty
substantially: it kills extmod, removes about half of miinitext.c to
give us one unified set of extension definitions, and removes all other
Xorg extension modules except for GLX, which is huge.

This also adds a localOnly argument to AddExtension, which if true, will
hide these extensions from remote clients (hi ajax!).

After I'd done this series, I discovered[0] Tomas Carnecky's patch series
which got rid of extmod, although with a slightly different approach.
I've switched the author tags to him for the identical patches we'd come
up with, but they are split a bit more aggressively, and we took a
different approach to the Xorg-specific extensions, and XSELinux.

All of the above seems to work fine on my local machine; the extension
list remains the same, all the extensions I tried are still working
fine, and this is the result of local vs. remote xdpyinfo:
--- local	2011-06-28 00:14:49.722077586 +0100
+++ remote	2011-06-28 00:14:57.321353687 +0100
@@ -1,4 +1,4 @@
-name of display:    :0
+name of display:    192.168.224.239:0
 version number:    11.0
 vendor string:    The X.Org Foundation
 vendor release number:    11099901
@@ -18,17 +18,15 @@
     depth 32, bits_per_pixel 32, scanline_pad 32
 keycode range:    minimum 8, maximum 255
 focus:  window 0x2400057, revert to Parent
-number of extensions:    26
+number of extensions:    24
     BIG-REQUESTS
     Composite
     DAMAGE
     DOUBLE-BUFFER
     DPMS
-    DRI2
     GLX
     Generic Event Extension
     MIT-SCREEN-SAVER
-    MIT-SHM
     RANDR
     RECORD
     RENDER

Patch #37 is still a WIP, as noted, as it will break enabling and
disabling of any module not in miinitext.c.  Regardless, the rest should
be OK, so please review.

Cheers,
Daniel

[0]: While googling for the SELinux xorg.conf options to see if anyone
     ever used them.



More information about the xorg-devel mailing list