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

From: Dan Rosenberg <[email-masked]>
Date: Thu, 09 Dec 2010 07:46:41 -0500

> > So caller can not block BH ?
> > 
> > This seems wrong to me, please consider :
> > 
> > normal process context :
> > 
> > spin_lock_bh() ...
> > 
> > for (...)  
> > 	{xxx}printf( ...   "%pK"   ...)
> > 
> > spin_unlock_bh();
> > 
> 
> I will think about this and address it.

Would you be happier if I omitted the in_interrupt() check entirely?

-Dan