xserver/hw/dmx/glxProxy
Olivier Fourdan d206c240c0 configurable maximum number of clients
Make the maximum number of clients user configurable, either from the command
line or from xorg.conf

This patch works by using the MAXCLIENTS (raised to 512) as the maximum
allowed number of clients, but allowing the actual limit to be set by the
user to a lower value (keeping the default of 256).

There is a limit size of 29 bits to be used to store both the client ID and
the X resources ID, so by reducing the number of clients allowed to connect to
the X server, the user can increase the number of X resources per client or
vice-versa.

Parts of this patch are based on a similar patch from Adam Jackson
<ajax@redhat.com>

This now requires at least xproto 7.0.28

Signed-off-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Olivier Fourdan <ofourdan@redhat.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
2015-08-24 00:00:18 -07:00
..
Makefile.am dmx/glx: Remove unused __glXNop 2013-09-11 14:37:31 -04:00
compsize.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
compsize.h dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
g_disptab.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
g_disptab.h dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
g_renderswap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
global.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxcmds.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
glxcmds.h dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxcmdsswap.c dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxcontext.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxdrawable.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxerror.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxext.c configurable maximum number of clients 2015-08-24 00:00:18 -07:00
glxext.h dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxfbconfig.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxfbconfig.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxscreens.c Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
glxscreens.h dmx: Mark glxIsExtensionSupported as a const char * 2015-02-10 18:14:45 -08:00
glxserver.h dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxsingle.c dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxsingle.h dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxswap.c dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxswap.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxutil.h dmx/glx: Remove unused __glXNop 2013-09-11 14:37:31 -04:00
glxvendor.c dmx: glxproxy prototype cleanup 2015-02-10 18:14:44 -08:00
glxvendor.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxvisuals.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glxvisuals.h Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
render2swap.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
renderpixswap.c Fix formatting of address operators 2012-12-05 18:09:48 -06:00
unpack.h Remove unneccesary casts from WriteToClient calls 2012-07-09 19:12:56 -07:00