An ancient kernel hole is closed
An ancient kernel hole is closed
Posted Aug 18, 2010 23:07 UTC (Wed) by einstein (subscriber, #2052)Parent article: An ancient kernel hole is closed
Posted Aug 18, 2010 23:12 UTC (Wed)
by arjan (subscriber, #36785)
[Link] (4 responses)
ask your own distro why they don't do this yet I suppose...
Posted Aug 18, 2010 23:32 UTC (Wed)
by cesarb (subscriber, #6266)
[Link]
I wonder which restrictions xserver_t has on selinux. If it is restricted enough, it is possible that, even if you can inject code on Xorg running as root, you cannot do much without having to first do DMA tricks to break out of it.
It might be an interesting exercise to make Xorg drop even more permissions (by changing for instance to a xserver_kms_t which cannot touch the hardware) when kernel modesetting is enabled (while keeping the ability to run without kernel modesetting by simply not dropping the extra permissions).
Posted Aug 19, 2010 0:12 UTC (Thu)
by HelloWorld (guest, #56129)
[Link] (1 responses)
Posted Aug 19, 2010 8:45 UTC (Thu)
by epa (subscriber, #39769)
[Link]
Posted Aug 19, 2010 22:26 UTC (Thu)
by nix (subscriber, #2304)
[Link]
Posted Aug 20, 2010 0:11 UTC (Fri)
by cmccabe (guest, #60281)
[Link] (1 responses)
OpenBSD uses privilege separation in its port of X.org.
I wonder if, with kernel modesetting, a totally non-root X.org will ever be possible. Or an selinux-sandboxed one, for that matter.
Posted Aug 20, 2010 1:30 UTC (Fri)
by drag (guest, #31333)
[Link]
It's certainly and absolutely possible.
But it probably breaks most closed source drivers so development is going to continue to be painfully slow.
There are probably a lots of problems with it, like was mentioned above with input devices, but it's absolutely possible that at some time we can have a non-root-privileged X. But people do have it working in a more-or-less fashion.
An ancient kernel hole is closed
An ancient kernel hole is closed
An ancient kernel hole is closed
An ancient kernel hole is closed
An ancient kernel hole is closed
An ancient kernel hole is closed
An ancient kernel hole is closed