From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751608AbdJXUqA (ORCPT ); Tue, 24 Oct 2017 16:46:00 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:56533 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751280AbdJXUp5 (ORCPT ); Tue, 24 Oct 2017 16:45:57 -0400 X-ME-Sender: Date: Wed, 25 Oct 2017 07:45:52 +1100 From: "Tobin C. Harding" To: "Jason A. Donenfeld" Cc: kernel-hardening@lists.openwall.com, "Theodore Ts'o" , Linus Torvalds , Kees Cook , Paolo Bonzini , Tycho Andersen , "Roberts, William C" , Tejun Heo , Jordan Glover , Greg KH , Petr Mladek , Joe Perches , Ian Campbell , Sergey Senozhatsky , Catalin Marinas , Will Deacon , Steven Rostedt , Chris Fries , Dave Weinstein , Daniel Micay , Djalal Harouni , LKML Subject: Re: [PATCH v7] printk: hash addresses printed with %p Message-ID: <20171024204552.GI1429@eros> References: <1508798008-1692-1-git-send-email-me@tobin.cc> <20171024003158.GB1429@eros> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Mailer: Mutt 1.5.24 (2015-08-30) User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Oct 24, 2017 at 01:25:52PM +0200, Jason A. Donenfeld wrote: > On Tue, Oct 24, 2017 at 2:31 AM, Tobin C. Harding wrote: > > On Tue, Oct 24, 2017 at 01:00:03AM +0200, Jason A. Donenfeld wrote: > >> Provided you've tested this and the static_key guard stuff actually > >> works as intended, > > > > I tested by inserting a simple module that calls printf() with a bunch of > > different specifiers. So it's tested but not stress tested. Some stress testing > > might be nice, no ideas how to go about that though. > > By the way, it occurred to me one thing you might want to verify > closely is whether or not that callback block executes from process > context and whether or not the static_key stuff sleeps. If both, > there's a problem. Ok, will do. thanks, Tobin.