From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Rosenberg Subject: Re: [PATCH] kptr_restrict for hiding kernel pointers from unprivileged users Date: Thu, 09 Dec 2010 06:51:12 -0500 Message-ID: <1291895472.2965.4.camel@Dan> References: <1291863926.2965.1.camel@Dan> <1291865039.2795.46.camel@edumazet-laptop> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, netdev To: Eric Dumazet Return-path: In-Reply-To: <1291865039.2795.46.camel@edumazet-laptop> Sender: linux-security-module-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > > Thanks for not giving credits to people suggesting this idea to you > (Thomas if I remember well), and not Ccing netdev where original > discussion took place. > I am happy to credit Thomas, even though he is far from the first person to have suggested this approach to me. Thanks for the suggestion. > > 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. -Dan