From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbdJDNJC (ORCPT ); Wed, 4 Oct 2017 09:09:02 -0400 Received: from mail.kernel.org ([198.145.29.99]:49114 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751278AbdJDNJB (ORCPT ); Wed, 4 Oct 2017 09:09:01 -0400 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 570822170C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Wed, 4 Oct 2017 09:08:57 -0400 From: Steven Rostedt To: Greg KH Cc: "Tobin C. Harding" , Petr Mladek , Joe Perches , Ian Campbell , Sergey Senozhatsky , kernel-hardening@lists.openwall.com, linux-kernel@vger.kernel.org, Catalin Marinas , Will Deacon , William Roberts , Chris Fries , Dave Weinstein Subject: Re: [kernel-hardening] [RFC V2 1/6] lib: vsprintf: additional kernel pointer filtering options Message-ID: <20171004090857.019a1235@gandalf.local.home> In-Reply-To: <20171004085542.GA28247@kroah.com> References: <1506816410-10230-1-git-send-email-me@tobin.cc> <1506816410-10230-2-git-send-email-me@tobin.cc> <20171004085542.GA28247@kroah.com> X-Mailer: Claws Mail 3.14.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Oct 2017 10:55:42 +0200 Greg KH wrote: > On Sun, Oct 01, 2017 at 11:06:45AM +1100, Tobin C. Harding wrote: > > Add the kptr_restrict setting of 3 which results in both > > %p and %pK values being replaced by zeros. > > > > Add an additional %pP value inspired by the Grsecurity > > option which explicitly whitelists pointers for output. > > > > Amend scripts/checkpatch.pl to handle %pP. > > > > This patch is based on work by William Roberts > > > > > > Signed-off-by: Tobin C. Harding > > Signed-off-by: Greg Kroah-Hartman Greg, I'm curious to why you are adding a "Signed-off-by"? That usually means that you either help author it, or it is going through your tree. I've never seen a "Signed-off-by" in passing. That's usually a "Acked-by" or "Reviewed-by". In other words, I was told that a "Signed-off-by" should never be added by anyone but the one who writes it. The original author adds it to the patch they send, and the maintainer adds it when they pull in that patch. But sending out a "Signed-off-by" like this, to be added, would require someone else writing it for you. Which I was told was a no-no. -- Steve