lkml.org 
[lkml]   [2016]   [Nov]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] Lock down drivers that can have io ports, io mem, irqs and dma changed
Date
Dominik Brodowski <linux@dominikbrodowski.net> wrote:

> You might also need to disable CIS overrides and CIS firmware loading for
> PCMCIA drivers, I presume. That needs two changes:
>
> - Abort in drivers/pcmcia/ds.c::pcmcia_load_firmware() or disable
> the CONFIG_PCMCIA_LOAD_CIS config option permanently.

This really ought to be handled through signature checking in
request_firmware().

> - Abort in drivers/pcmcia/cistpl.c::pccard_store_cis() or remove
> write access to the "cis" file in
> drivers/pcmcia/cistpl.c::pccard_cis_attr

What is that doing? Allowing the device to be reconfigured?

David

\
 
 \ /
  Last update: 2016-11-23 14:00    [W:0.409 / U:0.212 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site