Re: New proposed DRM interface design

From: Alan Cox
Date: Sun Sep 05 2004 - 08:03:55 EST


On Sad, 2004-09-04 at 23:06, Dave Airlie wrote:
> we also have out of kernel DRM drivers for mach64 and savage that would
> pose security issues if shipped, so we can't develop them in-kernel....
> (another reason for the CVS tree)...

I still think this is actually a bad decision. You can develop them in
kernel providing you put

if(!capable(CAP_SYS_RAWIO))
return -EPERM

in the client side open for these devices. At that point root can use it
happily but nobody else can. You can test it, you can share it upstream
and you can motivate people to fix it.

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/