[PATCH 2/3] linux: Make failure to iopl non-fatal

Keith Packard keithp at keithp.com
Thu Sep 20 06:39:55 PDT 2012


Adam Jackson <ajax at redhat.com> writes:

> We load the driver list, then enable I/O, then call driver probe based
> on whether I/O enable succeeded.  That's bad, because the loaded
> security policy might forbid port access.  We happen to treat that as
> fatal for some reason, which means even drivers that don't need I/O
> access (like kms and fbdev) don't get the chance to run.  Facepalm.
>
> How about we just make that non-fatal instead, that sounds like a much
> better plan.

Yup.

Reviewed-by: Keith Packard <keithp at keithp.com>

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120920/d4140677/attachment.pgp>


More information about the xorg-devel mailing list