

Hutterer: X servers no longer allow byte-swapped clients
source link: https://lwn.net/Articles/919192/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Hutterer: X servers no longer allow byte-swapped clients
These days, encountering a Big Endian host is increasingly niche, letting it run an X client that connects to your local little-endian X server is even more niche. I think the only regular real-world use-case for this is running X clients on an s390x, connecting to your local intel-ish (and thus little endian) workstation. Not something most users do on a regular basis. So right now, the byte-swapping code is mainly a free attack surface that 99% of users never actually use for anything real. So... let's not do that?
(Log in to post comments)
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 14:35 UTC (Fri) by dullfire (subscriber, #111432) [Link]
I know there are several distros out there that use/can-use BE, Adelie for one. I use gentoo in BE on my P9, and since my P9 is normally headless X11 forwarding from is is the norm for me. I think this use case is probably a bit less nitch that Peter believes it is.
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 14:46 UTC (Fri) by saffroy (guest, #43999) [Link]
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 14:50 UTC (Fri) by dullfire (subscriber, #111432) [Link]
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 15:56 UTC (Fri) by Sesse (subscriber, #53779) [Link]
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 16:07 UTC (Fri) by dullfire (subscriber, #111432) [Link]
That's a misreading of what I said. I gave a quote that seems to indicate Peter believes the only real-world use case is in conjunction with s390 systems. I gave a counter example. And further explained that there are distros (like Adelie, and BE PPC64 gentoo) that this could effect. Is it at all niche? Certainly. Is it as niche as Peter seems to suggest? Almost certainly not (and I would consider the difference between "only certain cases of s390 systems" and "PPC64/Adelie, BE gentoo, s390, +others" to be a significant difference, even if both are "niche").
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 18:31 UTC (Fri) by clump (subscriber, #27801) [Link]
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 15:31 UTC (Fri) by dskoll (subscriber, #1630) [Link]
According to the article, it's only disabled by default and can be re-enabled with a command-line option. So a good decision IMO.
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 15:32 UTC (Fri) by higuita (guest, #32245) [Link]
Hutterer: X servers no longer allow byte-swapped clients
Posted Jan 6, 2023 17:25 UTC (Fri) by jreiser (subscriber, #11027) [Link]
> it's only disabled by default and can be re-enabled with a command-line optionFinding and changing the invocation of the X server can be a chore because common desktop environments do not expose it. It may be necessary to wrap the executable file in a shell script which massages argv[].
Niches are for dogs.
Posted Jan 6, 2023 20:52 UTC (Fri) by ballombe (subscriber, #9523) [Link]
Recommend
-
14
England to Become First Country in World To Prescribe VapesNew guidelines from health experts mean that e-cigarettes will be prescribed on the NHS to cut smoking rates, despite warnings of the dangers of vaping...
-
14
Copy link Contributor Patrick-Poitras ...
-
8
Why an Atlanta-based Black influencer collective swapped their collab house for a studioAmanda SilberlingSat, August 6, 2022, 4:27 AM·7 min read
-
6
TechGoogle vs. ChatGPT: Here’s what happened when I swapped services for a day
-
15
X servers no longer allow byte-swapped clients In the beginning, there was the egg. Then fictional people started eating that from different ends, and...
-
5
Ranked #8 for today
-
9
What If a Boss and an Employee Swapped Roles? We Tried It. It's a little something we like to call the "boomerang boss." By
-
6
This HEMI-Swapped Comanche Is The Coolest Truck We Wish Jeep Would Build Today
-
8
Kroll Employee SIM-Swapped for Crypto Investor Data – Krebs on Security Security consulting giant Kroll disclosed today that a SIM-swapping attack against one of its employe...
-
3
Hutterer: udev-hid-bpf: quickstart tooling to fix your HID devices with eBPF [Posted April 22, 2024 by corbet] Peter Hutterer
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK