From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexei Starovoitov Subject: Re: [bpf-next PATCH 3/3] bpf: add sample program to trace map events Date: Mon, 23 Apr 2018 14:08:02 -0600 Message-ID: <20180423200801.m2kcrjcoavuibbmk@ast-mbp> References: <152406544226.3465.948692097697975172.stgit@localhost.localdomain> <152406545918.3465.14253635905960610284.stgit@localhost.localdomain> <20180420002735.ytmnhzs73rwkwewm@ast-mbp> <20180420114711.1a06fb26@redhat.com> <062780b1-6a24-a7f3-175c-db3b02605850@polito.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jesper Dangaard Brouer , netdev@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, mingo@redhat.com, rostedt@goodmis.org, fulvio.risso@polito.it, "David S. Miller" To: Sebastiano Miano Return-path: Received: from mail-pf0-f193.google.com ([209.85.192.193]:37331 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932306AbeDWUIH (ORCPT ); Mon, 23 Apr 2018 16:08:07 -0400 Received: by mail-pf0-f193.google.com with SMTP id p6so10207400pfn.4 for ; Mon, 23 Apr 2018 13:08:07 -0700 (PDT) Content-Disposition: inline In-Reply-To: <062780b1-6a24-a7f3-175c-db3b02605850@polito.it> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, Apr 23, 2018 at 04:08:36PM +0200, Sebastiano Miano wrote: > > That's in fact the real use case for the first two patches. Since bpf > tracepoints are still a rather common (and easy to use) troubleshooting and > monitoring tool why shouldn't we "enhance" their support with the newly > added map/prog IDs? because these tracepoints can be abused in the way that this patch demonstrated. Whether to keep this patch in the series or not is irrelevant.