Re: [PATCH] kptr_restrict for hiding kernel pointers from unprivileged users

Dan Rosenberg
2010-12-10T02:45:22Z

>
> Well, it seems difficult to make a check here, its a generic function
> that happens to be used from different contexts.
>
> Even using in_irq() might be a problem.

I agree it seems difficult - my only goal was to prevent subsequent
breakage with the capability check. Does anyone have any suggestions
for a better approach here?

-Dan