Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4337095imu; Mon, 12 Nov 2018 09:22:38 -0800 (PST) X-Google-Smtp-Source: AJdET5cLd64aCifpINSpkcPbL5/vGsDQmPjnXZ9cEaZdLZ88XLD4ugp73On8adsO9+GeogB6EUj7 X-Received: by 2002:a63:4f5e:: with SMTP id p30mr1567775pgl.71.1542043358300; Mon, 12 Nov 2018 09:22:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542043358; cv=none; d=google.com; s=arc-20160816; b=hIO70b7ME1+rjgYDLD9qV3RlQeReFW5PVWNQqy7H5OCle++HPI9DQcGDJu728wNI63 J1cHdbzbdcYq5Vh1djimfpG/k1l5ruH0hFlJjwig2yWRDz4TffMSjJ03N0zMfvRmBLue 2yxNFZeVlreQAytOW/m3OVzrOxBc07+rSBl+RfYGciDymkuBHPwtMGrIvkt8ZzRI/TBU fotKKlY6RTTvxNJW7kkdNKmS9zhG/G6HLyOhB3GKtDBq/XxZVcPbh72sgmEZXnOS+v4T 0X32P4TLAjdL8r7Cy0k/7wfTbVVfBT5BIqxBrqSKioHszZrtq7ZrvmC7vjNujNAkva+/ mQLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=knFkUqjjb2+AlT6tnoR7BA39h+47Ghxx5oi9XKKG4Gg=; b=0G0Alg9XlHPWsNsA45SjBovOdwl0S7SUHST4srFqrH+MAfNlgSn6BTDQ4YJC2nw1lY W5pIuhRv0ciI+42psX039/BQqjRc7g3kGr838V1kAMIDWcIj+8EFSvD1Z4NTwbvVc3N/ 58Ho8ljZY42HycaOlzRQPMFUEQT90b2wXbo6jTsWrYRs7W9EPWJ4X8usU2dCsV34+fhP VsnCgQ2ZoIqopezcPITIJxooOsmtI0pWjz0oAl4bnTgrrThmYXdIrGnnJM9zT7bmwl1C 17LI2X4MZxjPv2sdQCxyOJsnOhUzIBPqYSw7yJGJbMJP4pZkrbE5sfLejKjYCZKwTput ipCw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v184-v6si20167144pfv.249.2018.11.12.09.22.21; Mon, 12 Nov 2018 09:22:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729674AbeKMDQA (ORCPT + 99 others); Mon, 12 Nov 2018 22:16:00 -0500 Received: from mail.kernel.org ([198.145.29.99]:50684 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727185AbeKMDQA (ORCPT ); Mon, 12 Nov 2018 22:16:00 -0500 Received: from vmware.local.home (unknown [64.114.255.114]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E57222419; Mon, 12 Nov 2018 17:21:49 +0000 (UTC) Date: Mon, 12 Nov 2018 12:21:48 -0500 From: Steven Rostedt To: Alexander Popov Cc: Masami Hiramatsu , kernel-hardening@lists.openwall.com, Kees Cook , Jann Horn , Ingo Molnar , Andy Lutomirski , Joerg Roedel , Borislav Petkov , Thomas Gleixner , Dave Hansen , Peter Zijlstra , Jan Kara , Mathieu Desnoyers , Dan Williams , Masahiro Yamada , x86@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] stackleak: Disable ftrace for stackleak.c Message-ID: <20181112122148.0fab4c7f@vmware.local.home> In-Reply-To: <31b45d77-7b49-3984-a1e5-17993f50eee3@linux.com> References: <1541887530-16610-1-git-send-email-alex.popov@linux.com> <20181110183011.2290fc20@gandalf.local.home> <20181111205351.1874bb1e@vmware.local.home> <20181112115058.39e98750750c91eeb349cfdf@kernel.org> <31b45d77-7b49-3984-a1e5-17993f50eee3@linux.com> X-Mailer: Claws Mail 3.15.1 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Nov 2018 19:51:00 +0300 Alexander Popov wrote: > By the way, are there any other tracing/instrumentation mechanisms that should > be disabled? ftrace and kprobes are pretty much the only ones that currently do self modification of code all over the kernel. Kprobes even more so than ftrace. -- Steve