summaryrefslogtreecommitdiff
path: root/Xi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2024-03-23 10:42:33 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2024-03-23 14:42:15 -0700
commit5d7272f05d9ef6bef93419febee3c9dfc63ec055 (patch)
tree960c1410c306d7af9e16c02e214ad57c15718f6e /Xi
parent8a46a463f631ed52613d67f4088924acbbb6ca20 (diff)
Allow disabling byte-swapped clients
The X server swapping code is a huge attack surface, much of this code is untested and prone to security issues. The use-case of byte-swapped clients is very niche, so allow users to disable this if they don't need it, using either a config option or commandline flag. For Xorg, this adds the ServerFlag "AllowByteSwappedClients" "off". For all DDX, this adds the commandline options +byteswappedclients and -byteswappedclients to enable or disable, respectively. Fixes #1201 Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> --- (cherry picked from commit 412777664a20dd3561b936c02c96571a756fe9b2) (cherry picked from commit af5cd5acc9012e527ee869f8e98bf6c2e9a02ca4) Backport to server-21.1-branch modified to keep byte-swapping enabled by default but easy to disable by users or admins (or even by distros shipping an xorg.conf.d fragment in their packages). Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1440>
Diffstat (limited to 'Xi')
0 files changed, 0 insertions, 0 deletions