[PATCH xserver 7/7] modesetting: Allow a DRM fd to be passed through XF86_VIDEO_MODESETTING_FD

Keith Packard keithp at keithp.com
Fri Feb 23 17:15:18 UTC 2018


Eric Anholt <eric at anholt.net> writes:

> Any security concerns with a suid xserver here?

Not that I know of, but it's probably only a matter of someone smarter
than me looking? I think what I want is a command line option that is
disabled when the server is setuid (or, frankly, run as root at
all?). This is purely a hack to show the xlease program working and test
KMS and X leases without needing Mesa changes.

I'll rewrite this as a command line option, which presumably involves
adding an option to the general xfree86 set.

-- 
-keith
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20180223/e4dd0cae/attachment.sig>


More information about the xorg-devel mailing list