2 ms·
> one X11 application can send messages directly to another X11 application. That's where their example of a malicious app inserting text into a sudo terminal c
by Dylan16807 3y ago
> one X11 application can send messages directly to another X11 application. That's where their example of a malicious app inserting text into a sudo terminal comes from.
If I'm running a malicious application, I have much bigger worries than a an injected sudo. It has access to all my files!
> I feel under this argument, you can also describe memory segmentation as a "nanny" =/ I don't think many would argue we should go back to shared memory systems.
On my desktop I use memory segmentation to protect against programming errors, not for security.
- coppsilgold 3y ago> If I'm running a malicious application, I have much bigger worries than a an injected sudo. It has access to all my files! If you practice sandbox hygiene on linux (eg. bubblewrap) the only files it will have access to are the ones absolutely necessary for its functioning such as a private /home/user per application. However if you use X11, all such measures will be useless. You could of course run nested X11 (eg. Xephyr). But the inconvenience is of such magnitude why not use Wayland?