lkml.org 
[lkml]   [2016]   [Nov]   [24]   [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:

> > > - 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?
>
> Exactly. It is a different interface for updating the firmware -- which
> includes ioports etc. In theory, any access should be limited to areas which
> are registered to the bridge devices. But you never know...

Ah, I see. Should this be using request_firmware()?

David

\
 
 \ /
  Last update: 2016-11-24 18:35    [W:0.164 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site