Re: [RFC][PATCH] x86: Verify access_ok() context
From: Thomas Gleixner
Date: Mon Jan 16 2017 - 16:46:09 EST
On Mon, 16 Jan 2017, David Smith wrote:
> If you call access_ok() with page faulting disabled, you'll still see
> this new warning.
And how so? It's just checking for task context. page fault disable/enable
has absolutely nothing to do with that.
> If you put that new access_ok() call in a module that gets
> loaded/unloaded, you see one warning for every module load, which gets a
> bit annoying.
Can you please elaborate where this access_ok() is placed in the module
code?
Thanks,
tglx