Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1881621pxa; Thu, 6 Aug 2020 19:25:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwaOzUTNw18MtoO+otbbMWNGgZghWARchxuruN+pcqozQAL021/Iy8w7E46Qkg8FdyAeW++ X-Received: by 2002:a17:906:7108:: with SMTP id x8mr7164454ejj.447.1596767108045; Thu, 06 Aug 2020 19:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596767108; cv=none; d=google.com; s=arc-20160816; b=EeSYl4yzCo2IfNl7o0UZSnZ+dcDMASq8XcjqMY6iwnui16BvXJ3RL/yHCeUg5M+GTx leyE/lBeFugth2KPdw6WT1oQyqII2bJK+6GgJ36ktFPhdm9ZNwvOX7RwgYtxVXg5++lh oPYU0C8QEmItBOu2XorWdKaRxMWqMF5nqTf9Q2eJuC3WSg92DdjtmRJLut5GRov8fHVZ cFPGokN7xwH1yUHbHYS1aVYbsAjr+uFnA55uCpdR9/6rnQyAX4KFSUInet1vYHEBaS61 wagLJg5wCbWUNmcKB4UL2EyD23VO4zEYkTaEXQM2CDXkv5yq9hPI1v1JencEP+yC7nGu AXHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=jgzNrADqzmOr0n80iYHzzjjMlgmpS1/Gs1L13/e0S0M=; b=pcdINbZ48o/mfL527qLc5f7xcuiUfmtaKWpZ/0jng2X1pg/J1NbIyxbnxSXihsdFjo lAUdoPJUCcqqRRp0lzNQcy/58MuR4ziQQIUPC1kDUoxCyrDexn0lE1Xs9ljyAegCbS42 3i2w0jbtrE8QTcUZpm4zVDE5zy6+3dnoP2L/DJs14zzOaBO80cmUgO2DOyOJhcQHVuAA XXt8zJykoLp/fQ83L5KCakKmjoKvNwYMmN44wkqylT97q5AdQ3m1UTOigt+a8718DkiF m+XucBrSNIX3ySO7VnyJA0DoU4JET7fVdUYEMAVrsLDoEcgvlx7aknFDQLohlZ8Bf6wZ Zm1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b="xkKdSxZ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w15si4877335edl.118.2020.08.06.19.24.44; Thu, 06 Aug 2020 19:25:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore-com.20150623.gappssmtp.com header.s=20150623 header.b="xkKdSxZ/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726207AbgHGCXM (ORCPT + 99 others); Thu, 6 Aug 2020 22:23:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725947AbgHGCXL (ORCPT ); Thu, 6 Aug 2020 22:23:11 -0400 Received: from mail-ej1-x641.google.com (mail-ej1-x641.google.com [IPv6:2a00:1450:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5654C061574 for ; Thu, 6 Aug 2020 19:23:09 -0700 (PDT) Received: by mail-ej1-x641.google.com with SMTP id d6so452753ejr.5 for ; Thu, 06 Aug 2020 19:23:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jgzNrADqzmOr0n80iYHzzjjMlgmpS1/Gs1L13/e0S0M=; b=xkKdSxZ/YeWppyWC41wNCev1Hlc6V2GbZYCKi04KJcQA2xlABK3jHBb55CII9kdLkB lwF1l3xjePmejor8JDViPAKMSYmfJMazdFURokNdeblwnOFelt6FAryAvZJTOK7Q2Q+i ikXRvpcROlw8/3BPTvfNY5bxBxFFKitUKLwSaO/T+JWGgWRMPTDdN05VVUKwWwNAs2yt 1Ai2iIjmlYVGcqW+qIQJmPNFXQCdUkkkg9yLsCXbpu5pmTHrpT9tK7B6Yx/ePXOKdzr2 9w9o0QIyPj/0KBojAGRrVEdVdSeDo5sJRbJlQg8JOiZUUeOQJTK0TDXDx+S4PSbT3tpS sYVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jgzNrADqzmOr0n80iYHzzjjMlgmpS1/Gs1L13/e0S0M=; b=O56Mde1iQ1OBQ6CXFZg4LHxlmtkI5m47kOVjElFBpz5Qq6PelHKTQHZB8/iqAsOlQc TXm/SlQNdrzL2folVOsxY3Zhlj/zgApuacyeNzILny4ouybo3qeOQjMLkm4gqBaqgv7n qHe8/4F55pQwKLmxawhsa3xdsNM9H7hWJGiX10ifealacrQ+/kby5+JNWqiTLatS4NuZ Wj5IKYWlL0UcQXjrw2TC6fFX5l8zMEQw5ZrrwINKATwX8iQQvFrEHOUMnP7mmRui2dHy O7bKpUqbkxZ0wiXjjzpWtX5bztgvG7Kv13Ohaz2ZB9jAW5lTomtirWVYq+STEVlgnY3k SkMw== X-Gm-Message-State: AOAM530bMhSlcwsyPRAZD09F980m5V8s7lFBSusJCn1+Ws/TtvMFnuXm zdHWI1EdatTzmWh1KT82jRn1fDVN/g7yZenEFIQT X-Received: by 2002:a17:906:7c86:: with SMTP id w6mr7106172ejo.178.1596766988566; Thu, 06 Aug 2020 19:23:08 -0700 (PDT) MIME-Version: 1.0 References: <20200806080358.3124505-1-tweek@google.com> <20200806080358.3124505-2-tweek@google.com> <89d23362-39b9-79e5-84f1-d7b89204ef38@gmail.com> <8627d780-0e19-6755-0de5-c686deb0f5de@sony.com> <971592b6-5d5f-05d8-d243-b521fe65577d@gmail.com> <20200806123748.2285944b@oasis.local.home> In-Reply-To: <20200806123748.2285944b@oasis.local.home> From: Paul Moore Date: Thu, 6 Aug 2020 22:22:57 -0400 Message-ID: Subject: Re: [PATCH 2/2] selinux: add attributes to avc tracepoint To: Steven Rostedt Cc: Stephen Smalley , peter enderborg , =?UTF-8?Q?Thi=C3=A9baud_Weksteen?= , Nick Kralevich , Eric Paris , Ingo Molnar , Mauro Carvalho Chehab , "David S. Miller" , Rob Herring , Arnd Bergmann , linux-kernel@vger.kernel.org, selinux@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Aug 6, 2020 at 12:37 PM Steven Rostedt wrote: > On Thu, 6 Aug 2020 08:32:38 -0400 > Stephen Smalley wrote: > > > > > > In the commit message or in a Documentation/trace/events-avc.rst ? > > > > I was just asking for it in the commit message / patch description. I > > don't know what is typical for Documentation/trace. > > No, the Documentation/trace is for generic tracing documentation. Not > for individual events. As I've said many times in the past, I've never rejected a patch because the patch description was too verbose, but I have rejected patches where the description hasn't provided enough useful information. I would really like to see the commit description show an example where you setup/load/etc. the event into the kernel, trigger and capture the event information, and then show how the event output can be parsed/processed into something meaningful by a user. I'm essentially looking for a "hello world" version of the SELinux tracepoint, does that make sense? -- paul moore www.paul-moore.com