[PATCH v4 1/3] drm: Add user-defined EDID quirks capability

Paul Menzel paulepanter at users.sourceforge.net
Tue Aug 14 23:41:27 PDT 2012


Am Dienstag, den 14.08.2012, 10:45 -0500 schrieb Ian Pilcher:
> On 08/14/2012 10:13 AM, Paul Menzel wrote:
> > Testing your patch, I would vote that a normal user is allowed to read
> > the quirk list.
> 
> I thought about that, but I decided to leave it at 0600, because I can't
> see how the information would be of any use without the ability to
> change the list.  I there a use case that I didn't think of?

True. I could just make up a use case, that I set up GNU/Linux for
someone without giving them the root password. Then some external
monitor/TV does not work and to debug the problem I want to know what
quirks are present in the running Linux version.

Also possible user space programs (for GNOME, KDE, …) should be able to
query such information without being root. Maybe even `xrandr` is
suitable to display such kind of information.

We should also keep in mind that an user can change resolutions with
`xrandr` already today.

> I also figure that it's much easier to start out with more restrictive
> permissions and open up later if the need arises.

True. And I cannot think of a reason how knowing these information
should hurt. But it reminds me of Linus’ security rant [1].


Thanks,

Paul


[1] https://plus.google.com/u/0/102150693225130002912/posts/1vyfmNCYpi5
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120815/a5e72fbd/attachment.pgp>


More information about the dri-devel mailing list