mirror of
https://github.com/brl/mutter.git
synced 2025-08-02 14:44:40 +00:00
settings: Add Xwayland byte-swapped clients
Recent versions of Xwayland can allow or disallow X11 clients from different endianess to connect. Add a setting to configure this feature from mutter, who spawns Xwayland. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2785>
This commit is contained in:
@@ -125,6 +125,30 @@
|
||||
</description>
|
||||
</key>
|
||||
|
||||
<key name="xwayland-allow-byte-swapped-clients" type="b">
|
||||
<default>false</default>
|
||||
<summary>Allow X11 clients with a different endianess to connect to Xwayland</summary>
|
||||
<description>
|
||||
Allow connections from clients with an endianess different to that
|
||||
of Xwayland.
|
||||
|
||||
The X server byte-swapping code is a huge attack surface, much of
|
||||
that code in Xwayland is prone to security issues.
|
||||
|
||||
The use-case of byte-swapped clients is very niche, and disabled by
|
||||
default in Xwayland.
|
||||
|
||||
Enable this option to instruct Xwayland to accept connections from
|
||||
X11 clients with a different endianess.
|
||||
|
||||
This option has no effect if Xwayland does not support the command
|
||||
line option +byteswappedclients/-byteswappedclients to control that
|
||||
setting.
|
||||
|
||||
Xwayland needs to be restarted for this setting to take effect.
|
||||
</description>
|
||||
</key>
|
||||
|
||||
</schema>
|
||||
|
||||
</schemalist>
|
||||
|
Reference in New Issue
Block a user