News for hackers. Stuff that matters.
Re:Wayland vs. X – Overview by asveikau on Wednesday December 20, 2023 @09:38AM (#38709138)
I think you're phrasing that incorrectly. There was no application sandboxing for X to break. And you can't build sandboxing atop X.

You speak as if application sandboxing within the ever existed in the past... Not that people tried to build it and X doesn't play well with it.

Re:Wayland vs. X – Overview by gpderetta on Wednesday December 20, 2023 @09:52AM (#38709273)
I don't profess to have any deep knowledge of X11 or Wayland, but I don't understand how sandboxing can't work in X11. XWayland exists and it is either non-sandboxed (hence Wayland doesn't add any security benefit) or it is. And if it is it means that X can be sandboxed and it should be possible to run XonX sandboxes. Something like xnest.
Re:Wayland vs. X – Overview by asveikau on Wednesday December 20, 2023 @10:52AM (#38709993)
This is a very good comment.

I guess then the claim is more that no common implementation is amenable to sandboxing, and the compatibility break of a brand new protocol means they can implement it from day 1 in the way they like. Which is a lot weaker an argument, but practically speaking, it's true that no one is rushing to bolt on security features to X. To be clear I'm not realy a Wayland fan.

Re:Wayland vs. X – Overview by hedora on Wednesday December 20, 2023 @10:19AM (#38709599)
You certainly can build sandboxing atop X11. If you're reading using a web browser on a Linux desktop (or in a VM on a Linux desktop), then you're literally staring at an existence proof.
Re:Wayland vs. X – Overview by asveikau on Wednesday December 20, 2023 @10:48AM (#38709946)
I guess the point is it can't be sandboxed by directly exposing X protocol messages to the sandboxed app. Although your sibling comment by gpderetta makes an excellent point. I guess they're saying no one wants to sandbox the X protocol, and breaking compatibility, proponents would claim, lets you design a sandbox friendly protocol from scratch.