From: ebiederm@xmission.com (Eric W. Biederman) References: <1511826058-2563-1-git-send-email-me@tobin.cc> Date: Tue, 28 Nov 2017 00:26:58 -0600 In-Reply-To: (Linus Torvalds's message of "Mon, 27 Nov 2017 17:09:10 -0800") Message-ID: <874lpelxzh.fsf@xmission.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [kernel-hardening] Re: [PATCH 0/5] add printk specifier %px, unique identifier 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 , Radim =?utf-8?B?S3LEjW3DocWZ?= , Linux Kernel Mailing List , KVM list , "kernel-hardening@lists.openwall.com" List-ID: Linus Torvalds writes: > On Mon, Nov 27, 2017 at 4:03 PM, Linus Torvalds > wrote: >> >> So the big remaining ones for me are the /proc//stack (stack >> pointers) and the /proc/net/* ones. >> >> I'm a bit disappointed that those haven't been fixed already and >> aren't even in this series.. > > Oh well, I just did /proc//stack by making it just print 0 > unconditionally rather than the hex number. Patch? I know I have used /proc//stack manually many times when looking at a system where something is hung/weird and I needed to see what is going on. The backtrace inside the kernel can be invaluable. At the same time I don't know if we actually need the hex address. But please don't break that interface it is very useful. Eric