summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2014-01-13 17:00:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2014-01-15 08:09:47 +1000
commit71baa466b1f6b02fe503f9a3089b7b9d61aa0f80 (patch)
treed89a00312898ae7009b6baf46502b53ad829f89c /Xi
parente81902872176fa9848211fcd7a5eafa4f861a1b7 (diff)
os: restrict display names to digits
We call atoi() on the server's display to get the socket but otherwise use the unmodified display for log file name, xkb paths, etc. This results in Xorg :banana being the equivalent of Xorg :0, except for the log files being in /var/log/Xorg.banana.log. I'm not sure there's a good use-case for this behaviour. Check the display for something that looks reasonable, i.e. digits only, but do allow for :0.0 (i.e. digits, followed by a period, followed by one or two digits). Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'Xi')
0 files changed, 0 insertions, 0 deletions