From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932949AbbI3Uhe (ORCPT ); Wed, 30 Sep 2015 16:37:34 -0400 Received: from www.linutronix.de ([62.245.132.108]:44627 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932516AbbI3Uhc (ORCPT ); Wed, 30 Sep 2015 16:37:32 -0400 Date: Wed, 30 Sep 2015 22:36:39 +0200 (CEST) From: Thomas Gleixner To: Ingo Molnar cc: Andy Lutomirski , Kees Cook , Dmitry Vyukov , Andrey Ryabinin , Ingo Molnar , "H. Peter Anvin" , Andy Lutomirski , Borislav Petkov , Denys Vlasenko , "x86@kernel.org" , LKML , Kostya Serebryany , Alexander Potapenko , Andrey Konovalov , Sasha Levin , Andi Kleen , kasan-dev , Linus Torvalds , Peter Zijlstra , Andrew Morton , Al Viro Subject: Re: [PATCH v2] fs/proc: Don't expose absolute kernel addresses via wchan In-Reply-To: <20150930135917.GA3285@gmail.com> Message-ID: References: <1443430839-13225-1-git-send-email-dvyukov@google.com> <20150930071537.GA19048@gmail.com> <20150930135917.GA3285@gmail.com> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Sep 2015, Ingo Molnar wrote: > These days there's very little legitimate reason user-space > would be interested in the absolute address. The absolute > address is mostly historic: from the days when we didn't have > kallsyms and user-space procps had to do the decoding itself via > the System.map. > > So this patch sets all numeric output to 0 and keeps the > symbolic output in /proc/PID/wchan. Reviewed-by: Thomas Gleixner