Or we can add _audited to the name. ioremap_shared_audited?But it's not the mapping that has to be done in handled special way.
It's any data we get from device, not all of it coming from IO, e.g.
there's DMA and interrupts that all have to be validated.
Wouldn't you say that what is really wanted is just not running
unaudited drivers in the first place?
And we've been avoiding that drivers can self declare auditing, we've beenNow I'm confused. What is proposed here seems to be basically that,
trying to have a separate centralized list so that it's easier to enforce
and avoids any cut'n'paste mistakes.
-Andi
drivers need to declare auditing by replacing ioremap with
ioremap_shared.