From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753211AbdK1RmH (ORCPT ); Tue, 28 Nov 2017 12:42:07 -0500 Received: from smtprelay0038.hostedemail.com ([216.40.44.38]:39509 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752361AbdK1RmG (ORCPT ); Tue, 28 Nov 2017 12:42:06 -0500 X-Session-Marker: 6A6F6540706572636865732E636F6D X-Spam-Summary: 2,0,0,,d41d8cd98f00b204,joe@perches.com,:::::::::::::::::::::::::::::::::::::::::::::::::::,RULES_HIT:41:355:379:541:599:800:960:973:988:989:1260:1277:1311:1313:1314:1345:1359:1373:1437:1515:1516:1518:1534:1541:1593:1594:1711:1730:1747:1777:1792:2393:2553:2559:2562:2828:3138:3139:3140:3141:3142:3352:3622:3865:3866:3870:3872:3874:4321:5007:6742:6743:7903:10004:10400:10848:11026:11232:11658:11914:12050:12740:12760:12895:13069:13161:13229:13311:13357:13439:14181:14659:14721:21080:21627:30034:30054:30060:30070:30090:30091,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:,MSBL:0,DNSBL:none,Custom_rules:0:0:0,LFtime:2,LUA_SUMMARY:none X-HE-Tag: root54_8613eb091c34b X-Filterd-Recvd-Size: 3035 Message-ID: <1511890919.19952.42.camel@perches.com> Subject: Re: [PATCH 0/5] add printk specifier %px, unique identifier From: Joe Perches To: Linus Torvalds , "Eric W. Biederman" 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 , Ian Campbell , Sergey Senozhatsky , Catalin Marinas , Will Deacon , Steven Rostedt , Chris Fries , Dave Weinstein , Daniel Micay , Djalal Harouni , Radim =?UTF-8?Q?Kr=C4=8Dm=C3=A1=C5=99?= , Linux Kernel Mailing List , KVM list , "kernel-hardening@lists.openwall.com" Date: Tue, 28 Nov 2017 09:41:59 -0800 In-Reply-To: References: <1511826058-2563-1-git-send-email-me@tobin.cc> <874lpelxzh.fsf@xmission.com> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.26.1-1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 2017-11-28 at 09:33 -0800, Linus Torvalds wrote: > On Mon, Nov 27, 2017 at 10:26 PM, Eric W. Biederman > wrote: > > > > > > Oh well, I just did /proc//stack by making it just print 0 > > > unconditionally rather than the hex number. > > > > Patch? > > Oh, apparently I never pushed out yesterday. > > The patch literally just affects the (useless) hex number. So: > > cat /proc/self/stack > > now prints out > > [<0>] proc_pid_stack+0xaa/0x100 > [<0>] proc_single_show+0x48/0x80 > [<0>] seq_read+0xd2/0x410 > I considered getting rid of the whole "[<>]" thing, but that's where > "maybe there are tools that parse this" came in. > > I doubt there are any, though. If proc-ps doesn't look at this, I > don't know what could. But the format change might as well be a > separate thing if somebody cares deeply. Perhaps if there are really tools that parse this the [] should be kept the same too. >