From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755749AbdKJDDh (ORCPT ); Thu, 9 Nov 2017 22:03:37 -0500 Received: from mail-oi0-f50.google.com ([209.85.218.50]:44735 "EHLO mail-oi0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752579AbdKJDDf (ORCPT ); Thu, 9 Nov 2017 22:03:35 -0500 X-Google-Smtp-Source: AGs4zMY6GcDmjL3+oW4VkYHFE3cBDIA4LyPDAgNEQKdxlsd36vOOEeEObGARSUYdiPNYxG4nPrxaHfbKcdmm0imM1Tc= MIME-Version: 1.0 In-Reply-To: <20171109131111.499057ab@gandalf.local.home> References: <1510050731-32446-1-git-send-email-me@tobin.cc> <20171109131111.499057ab@gandalf.local.home> From: Kaiwan N Billimoria Date: Fri, 10 Nov 2017 08:33:14 +0530 Message-ID: Subject: Re: [kernel-hardening] [PATCH v4] scripts: add leaking_addresses.pl To: Steven Rostedt Cc: Linus Torvalds , Laura Abbott , "Tobin C. Harding" , "kernel-hardening@lists.openwall.com" , "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 , Chris Fries , Dave Weinstein , Daniel Micay , Djalal Harouni , Linux Kernel Mailing List , Network Development , David Miller Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > Yes, profiling and tracing are similar. And you need to be root to run > the recording anyway. Thus, as long as root user can read kallsyms, > trace-cmd should be fine. As trace-cmd requires root access to do any > ftrace tracing. > > -- Steve Got it, thanks.. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kaiwan N Billimoria Subject: Re: [kernel-hardening] [PATCH v4] scripts: add leaking_addresses.pl Date: Fri, 10 Nov 2017 08:33:14 +0530 Message-ID: References: <1510050731-32446-1-git-send-email-me@tobin.cc> <20171109131111.499057ab@gandalf.local.home> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Cc: Linus Torvalds , Laura Abbott , "Tobin C. Harding" , "kernel-hardening@lists.openwall.com" , "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 Return-path: In-Reply-To: <20171109131111.499057ab@gandalf.local.home> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org > > Yes, profiling and tracing are similar. And you need to be root to run > the recording anyway. Thus, as long as root user can read kallsyms, > trace-cmd should be fine. As trace-cmd requires root access to do any > ftrace tracing. > > -- Steve Got it, thanks.. From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: <20171109131111.499057ab@gandalf.local.home> References: <1510050731-32446-1-git-send-email-me@tobin.cc> <20171109131111.499057ab@gandalf.local.home> From: Kaiwan N Billimoria Date: Fri, 10 Nov 2017 08:33:14 +0530 Message-ID: Content-Type: text/plain; charset="UTF-8" Subject: Re: [kernel-hardening] [PATCH v4] scripts: add leaking_addresses.pl To: Steven Rostedt Cc: Linus Torvalds , Laura Abbott , "Tobin C. Harding" , "kernel-hardening@lists.openwall.com" , "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 , Chris Fries , Dave Weinstein , Daniel Micay , Djalal Harouni , Linux Kernel Mailing List , Network Development , David Miller List-ID: > > Yes, profiling and tracing are similar. And you need to be root to run > the recording anyway. Thus, as long as root user can read kallsyms, > trace-cmd should be fine. As trace-cmd requires root access to do any > ftrace tracing. > > -- Steve Got it, thanks..