From patchwork Mon Nov 27 23:40:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobin Harding X-Patchwork-Id: 10078371 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 50F616028E for ; Mon, 27 Nov 2017 23:41:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4413428F8B for ; Mon, 27 Nov 2017 23:41:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 389DC2908E; Mon, 27 Nov 2017 23:41:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by mail.wl.linuxfoundation.org (Postfix) with SMTP id 4F95328F8B for ; Mon, 27 Nov 2017 23:41:36 +0000 (UTC) Received: (qmail 5509 invoked by uid 550); 27 Nov 2017 23:41:31 -0000 Mailing-List: contact kernel-hardening-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Delivered-To: mailing list kernel-hardening@lists.openwall.com Received: (qmail 5405 invoked from network); 27 Nov 2017 23:41:30 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tobin.cc; h=cc :date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=HnhrpZcFwT+cDzi9n AHLRrJz6X87uXjZejI4BKN/EWs=; b=VKJrpYObrpvFnq+AZbG7V/LLSEbMmmlGl xeF1k7IhgH3UUxgX5OVZ4+jeT2sbwIYGUJm2DR28pYBTW27EpTiq7/d88cxLQCI3 sLLjgBGeEofPRZBe9Efw+YflVBDdQNWhZw/BTMOy+IMEmCswww9/6GqysopAzzfn sUeYmqSQoM2WCtEJvyX75bDsopmO4EKCkcH21hZGyctxtmtxPe6bxEE1rTC3L2hV RpgaW7L+eOrw5D9UmflHdRpbzuYJKwJkWdX/hb0H+MeCmGgKFh0/1qcWe6UrnhOx ItEkXxTaIUzDou2/UNNwDop4fmV0t1ynjlrNTbDLy/3EEfUhqSqNw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=HnhrpZcFwT+cDzi9nAHLRrJz6X87uXjZejI4BKN/EWs=; b=OGAWpME6 mqnxhb8B4C7tWEr7c0JntsIbMPUbAPVzdFaL0VkS7BNcnFVXOGJllWKIBuYLQlBU OEjqtFLk4C6Azaefe6RKV3Vulh+A8b4oElZNqKbLoWivGsR0o5EsmTH8FQUaDx/C AmXj2TLe/dJyhPNBzSTdqLdhibFJfp8CwD7Vrf7BHQhW9169ODWBs/hbnnG5pdpc s0BuvGldkTNndr9+PE9RCUM5YOeo2+DI7HGu8RmDCh6prQr8bweVAGskqRunheeN fLJagPaCmD39E/uBzbF6BtxdKyd0Eupu2EgyZ0p7MS88qDNjzWyg4BLdkmipoZ9E jenm4HOtkFgA2Q== X-ME-Sender: From: "Tobin C. Harding" To: Linus Torvalds Cc: "Tobin C. Harding" , "Jason A. Donenfeld" , Theodore Ts'o , 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 , =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, kernel-hardening@lists.openwall.com Date: Tue, 28 Nov 2017 10:40:54 +1100 Message-Id: <1511826058-2563-2-git-send-email-me@tobin.cc> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511826058-2563-1-git-send-email-me@tobin.cc> References: <1511826058-2563-1-git-send-email-me@tobin.cc> Subject: [kernel-hardening] [PATCH 1/5] docs: correct documentation for %pK X-Virus-Scanned: ClamAV using ClamSMTP Current documentation indicates that %pK prints a leading '0x'. This is not the case. Correct documentation for printk specifier %pK. Signed-off-by: Tobin C. Harding Acked-by: Kees Cook --- Documentation/printk-formats.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/printk-formats.txt b/Documentation/printk-formats.txt index 361789df51ec..b4fe3c5f3b44 100644 --- a/Documentation/printk-formats.txt +++ b/Documentation/printk-formats.txt @@ -91,7 +91,7 @@ Kernel Pointers :: - %pK 0x01234567 or 0x0123456789abcdef + %pK 01234567 or 0123456789abcdef For printing kernel pointers which should be hidden from unprivileged users. The behaviour of ``%pK`` depends on the ``kptr_restrict sysctl`` - see