From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 743D0C433E1 for ; Tue, 28 Jul 2020 13:23:41 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 541FA206D7 for ; Tue, 28 Jul 2020 13:23:41 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=google.com header.i=@google.com header.b="LheCqbjp" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730094AbgG1NXj (ORCPT ); Tue, 28 Jul 2020 09:23:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730086AbgG1NXi (ORCPT ); Tue, 28 Jul 2020 09:23:38 -0400 Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 469DCC0619D2 for ; Tue, 28 Jul 2020 06:23:38 -0700 (PDT) Received: by mail-vs1-xe42.google.com with SMTP id 1so5486602vsl.1 for ; Tue, 28 Jul 2020 06:23:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QXfi6vnP/umEXJ3y6ImlOcqse9iDrshGxOOYKi2M06w=; b=LheCqbjpyiQxtwihTuUKy4NYEy6OXctJA8A1Y2Sr5BuJnvgKdbi15QewOOWwOTF6LV N2nrvCDnDI6GG/a3Jcr92B0KsFOfnIx3sJxvg47M9j3sObDZC9PWHbGNaB1knVrOKZMt XaQkggAT9CIHSU6HwIIO0Uh6obozcw60whadWtPtoWDktgnp71oS0tVa3zhHJs+7n8+K IAbkNycIfArwi90Sg+Df3RoB6L4iaWjWFKdl2zPrVAgC63StILnwkrJVR/XSS4BQYQAg xqyjw3VvVR1efAQwRhhfVK/v7zHsJwwiKNVVj4dbwhCGVPp4+N3Jt8y8IK2q1SbP04DV +a/A== 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=QXfi6vnP/umEXJ3y6ImlOcqse9iDrshGxOOYKi2M06w=; b=IcYgl0x8BkGG6f/039uJgE2o0Chkfwq+jSwLz3pjE6JuDJARGfnRad2PdLZmVSJK/d m0cYyjc46K38W0qctTHGqH9Du1FijZKeH+LvKr6VRl2c3+2LbY/16NtEMTSASISMyvtY gUOxsftMwCFDXvfrGAnoMpXkx9bA3WoDkA3zJtvfuEgDXjUsVagrQb8Jv/6VO7ds77Tz dXkaxXTN3uxMUVbiwWOj9Pp0x9x8pdwouhADDrvPom/W+4nRjGTNcUr9rYcNTkP1YqIG ZsvpYULif6OJIzTKchWUvHDTtQI3XE0MZsp87SFSLZmeKq2U29TFqqAwMNZoOXe6oDjP EcfQ== X-Gm-Message-State: AOAM533L+zd+jLRqNlYqnxSUmPlswgq9jONnoKyCUYp7QF+TTZ9KZcuC whLZ3OG2KTZs6SGHvjz1uzsFzRBJIO8SKD2bzyF6ZQ== X-Google-Smtp-Source: ABdhPJzBOH10rk3Rdn+jqyz9OJv/90a0M5FuL1RWCmiobUTvZgrGDVcf4sKGcimEjjpR3cDYVpJ4HObqnToKzsJqr9g= X-Received: by 2002:a67:f60c:: with SMTP id k12mr19847110vso.8.1595942617191; Tue, 28 Jul 2020 06:23:37 -0700 (PDT) MIME-Version: 1.0 References: <20200724091520.880211-1-tweek@google.com> <20200728091220.5769b606@oasis.local.home> In-Reply-To: <20200728091220.5769b606@oasis.local.home> From: =?UTF-8?Q?Thi=C3=A9baud_Weksteen?= Date: Tue, 28 Jul 2020 15:23:15 +0200 Message-ID: Subject: Re: [PATCH] selinux: add tracepoint on denials To: Steven Rostedt Cc: Paul Moore , Stephen Smalley , Nick Kralevich , Joel Fernandes , Eric Paris , Ingo Molnar , Mauro Carvalho Chehab , "David S. Miller" , Rob Herring , linux-kernel , SElinux list 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 Tue, Jul 28, 2020 at 3:12 PM Steven Rostedt wrote: > Where in that document does it say that trace events have a fixed size. > We have a lot of dynamically sized trace events. My mistake. From the "format" pseudo-file, I assumed the offset and size were fixed. > Please take a look at samples/trace_events/trace_events_sample.h > and read the example on __print_symbolic(). > I think that's what you are looking for. Ack, thanks for pointing these out. I still think that my other argument (i.e. duplication of avc message) holds.