From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031275AbdEXTeJ (ORCPT ); Wed, 24 May 2017 15:34:09 -0400 Received: from mx2.suse.de ([195.135.220.15]:59917 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1031211AbdEXTeF (ORCPT ); Wed, 24 May 2017 15:34:05 -0400 Date: Wed, 24 May 2017 21:34:03 +0200 From: "Luis R. Rodriguez" To: Thomas Gleixner Cc: "Luis R. Rodriguez" , Steven Rostedt , Kees Cook , LKML , x86@kernel.org, Masami Hiramatsu , Peter Zijlstra Subject: Re: [PATCH] x86/ftrace: Make sure that ftrace trampolines are not RWX Message-ID: <20170524193403.GC8951@wotan.suse.de> References: <20170524134728.61a896c9@vmware.local.home> <20170524181648.GA8951@wotan.suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.0 (2016-04-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 24, 2017 at 08:53:00PM +0200, Thomas Gleixner wrote: > On Wed, 24 May 2017, Luis R. Rodriguez wrote: > > [ 440.548057] CPU: 2 PID: 1765 Comm: ftracetest Tainted: G E > > 4.12.0-rc1-next-20170519+ #155 > > Can you please try that patch against plain 4.12-rc2? Yup, just tried it. Same trace. Could we need to do something special at __unregister_ftrace_function() and friends ? Luis