Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752630AbaA3Fcn (ORCPT ); Thu, 30 Jan 2014 00:32:43 -0500 Received: from mx1.redhat.com ([209.132.183.28]:25676 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbaA3Fcm (ORCPT ); Thu, 30 Jan 2014 00:32:42 -0500 Date: Thu, 30 Jan 2014 00:32:32 -0500 From: Dave Jones To: Steven Rostedt Cc: Linux Kernel Subject: Re: FTRACE_WARN_ON((rec->flags & ~FTRACE_FL_MASK) == 0)) Message-ID: <20140130053232.GA14856@redhat.com> Mail-Followup-To: Dave Jones , Steven Rostedt , Linux Kernel References: <20140130041622.GA23875@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 29, 2014 at 11:50:43PM -0500, Steven Rostedt wrote: > Are you running as root? If not, you found another way to get perf to start function tracing. Good point. In this case, I was trying some new experimental trinity code that starts as root, generates fd's, then drops privs before doing syscalls. So the "generate fds" part did some perf_event_open's as root, yeah. While that's less scary from a security pov than it was last time, it's still something that aparently needs fixing. Dave -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/