News for hackers. Stuff that matters.
Re:HW accelerated Xwayland rendering for Nvidia merged by Sebb767 on Friday April 09, 2021 @08:08PM (#26757692)
> The security paradigm is blacklisting [...]. Since the vast majority of Software on FOSS system is trusted X11 is the far superior solution here.

This is absolutely not a good solution. Even if you audited all your software enough to consider it trusted (which is unlikely if you're not a purist - see IDEs, browsers, widevine, Docker ...), it does not guarantee anything is secure. Anything that receives input from the outside might be vulnerable to an RCE. If you're running it under a different user or in a jail, the impact is limited - unless it can access your X server, in which case it can simply log everything you type and escalate.

Jailing an app is basically impossible under X. Yes, you can use Zephyr, but you're not going to be able to watch a video there and you're WM integration is going to be miserable as well. And realistically you'd really need to jail most apps.

X11 might work for a lot of things, but blacklisting is absolutely not a superior approach.

Re:HW accelerated Xwayland rendering for Nvidia merged by sprash on Friday April 09, 2021 @09:03PM (#26757994)
> it does not guarantee anything is secure.

Indeed. But looking at the state of the average Wayland compositor right now I trust all of my X11 software more than I trust Wayland. Especially when X11 and most clients have been battle tested for up to 35 years.

Besides that, you can also use Xpra for sandboxing which has better desktop integration.