Post a Comment
I've heard lots of complaints about slipping release dates, features getting dropped from releases, etc. But I've got to say, the pace of change in X11 these days is highly impressive. I'm always looking forward to what's coming next ...
I was aware that e.g. OpenBSD was able to run X11 as non-root a while ago. Doubtless this new development is a more comprehensive solution but I do wonder how *BSD supported running X as a normal user process in the past ... set the mode and then permanently drop privileges, perhaps? Anybody know?
I should probably just go look it up but ... this is the lazyweb, right?
OpenBSD did it by using privilege separation. Ihey have a modified X server which drops privileges after it does the things it needs to be root to do. It may also be split into a small, auditable privileged program which does rootish things on behalf of the larger, unprivileged X server (like they do with SSH and some other daemons).
To me, this seems preferable to moving modesetting code into the kernel, but there may be other non-security implications to that which pushed the Linux folks in that direction.
In the past, they also had a special driver (xf86) to allow access to certain ports and memory ranges on the video card as non-root. I don't know if they still use this, though. I haven't run X on an OpenBSD box in years.
Edited 2009-07-06 17:49 UTC




