Actual older than Plan 9 but still alive OSes have done limited and limiting choices but many have something "somewhat equivalent", for instance GNU/Linux cgroups (see FireJail, BubbleWrap etc) or FreeBSD Capsicum. Choosing anything heavyweight is a nonsense.
https://multicians.org/security.html
On X11 and Unix, XTerm's "secure keyboard" input makes X11 snooping impossible.