Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3331755imm; Sun, 30 Sep 2018 18:01:56 -0700 (PDT) X-Google-Smtp-Source: ACcGV619GYVctm1WVscOnMhY6C/4xih2A2l4a4zbbPoc9Gj7RlfhanDvTcAopSXrJ5Tui/Dqp8g4 X-Received: by 2002:a62:565c:: with SMTP id k89-v6mr8939447pfb.212.1538355716584; Sun, 30 Sep 2018 18:01:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538355716; cv=none; d=google.com; s=arc-20160816; b=ran7EE7CUJTYcvXX2ZqUsH1/s08Ldrju3kRLKidtiJ/5ub/OU3evcgWMv/YzNrfzZ5 qjibiZBl7GltDRqFO/jHasOLhIz/NvJ0JskGFnwfl1BGDaco1BtUhgPBHOY2AM9o5U1S c8Fyyl1XkoGwCKAamQ5hIbniEn8lB+51KNEJamnWFpixdlqKOIQtIyLUQAfkcvw1hZHS YUzeFolmY5UlPF7I7daRbv8Jn2pnrzkGl6ugV/MzUbAuh7fb7m12Vvy1MY1ItiAEsK5t uHsAMJfaRVVHhyH3qhbDrrvJun68vPcDHrW2+rCTMnmtG7ociLS8tgq8UG3LGpnpRhr9 zO4A== 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 :references:in-reply-to:mime-version:dkim-signature; bh=hrDNhPObw6e1fWHKYJ1uWfvaXZbb4Utsc/+r7Rmskdw=; b=XWkz2Fs6+26R/I0QOUMh3p4yNJgdyl6ZgEJmydRVuKawmfJ5IIFZzQYr/3gtOMFbL/ nzcDf/K0wKUYmyR//LOi1LC6/7DeJGUtQF3OgZwH4JtrgxWJu76QaLqMuhvN1OIaFaxG 9fd40BamOFB+dYeLdHgHFuptTX18WKhS0PF71jgls4W/XpFCAALQyo74ROVaxPEYtEit m0Fz+QmkPCIo5q192ZH4dSG2Qt2X8WGdGEp1YatgcgMBHSDLQH2qa9iYHvemF9/c6C/2 JXGoUleccKLzfhvwESkBGaYWi4iXygJ+yQRJudaoT8ieC3q4ztlEU1/uVqfFAy21g1tc Hvug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h1R3G9vq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si11709035plb.262.2018.09.30.18.01.41; Sun, 30 Sep 2018 18:01:56 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=h1R3G9vq; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbeJAHgs (ORCPT + 99 others); Mon, 1 Oct 2018 03:36:48 -0400 Received: from mail-yw1-f68.google.com ([209.85.161.68]:37504 "EHLO mail-yw1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726080AbeJAHgs (ORCPT ); Mon, 1 Oct 2018 03:36:48 -0400 Received: by mail-yw1-f68.google.com with SMTP id y14-v6so4853052ywa.4 for ; Sun, 30 Sep 2018 18:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=hrDNhPObw6e1fWHKYJ1uWfvaXZbb4Utsc/+r7Rmskdw=; b=h1R3G9vqqazOU05O83Sa8ly0oQTdyB9kCm7HW1a+/205zbM4n1UkY76CTYRQ8E8cWH 63Ag3zvrjvff4t3a5S11whIW/PtjpJENrlToTEDrOJN5kFdgXRH2UIkaITmmuCZLvXzv FIfJYnIWbJ9KSBIUbJ4sYYoMnb0dldLiPC1Lc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=hrDNhPObw6e1fWHKYJ1uWfvaXZbb4Utsc/+r7Rmskdw=; b=EQoKgE9FDGQEY2h1XsJJMCrRQ9D7c4si1Cngxmib6iAqN1bXbJU8zHMDwS0xM+jnX7 GJz/qlgcY7wksfy6ILN2Kd6oML9drbp4lAOX+0UMA0Y5Bw6rPkniJyWD44OpPHG0JGaz XjEq1/7gOdgaQvWrtipzxA8K35RSBBFchFhwHDxt/3WpcuxfFXXu4MuRhc0XQoKFqPVs yrwqvDHABqjH88lS7jHKtPpJcWrqeKx5Hub+WnLZICVZeXMQxCYQE/BOyQzb+yjoWfJW fxIEiG02j0X08GuZRp0xgzbBUc8YNTn4KHSxLXlrkcSe/3X8cIeQSyTsMfbHYLi6eF3m Yc1w== X-Gm-Message-State: ABuFfoj7ex5JwM9i2p6hv7dTfKM2Enmf6V9EJJXACXE3528GShRi7rjU +dEmf7WoqLTZGg6USRD7SPAZmMRcqas= X-Received: by 2002:a81:5a89:: with SMTP id o131-v6mr4721307ywb.121.1538355694740; Sun, 30 Sep 2018 18:01:34 -0700 (PDT) Received: from mail-yw1-f48.google.com (mail-yw1-f48.google.com. [209.85.161.48]) by smtp.gmail.com with ESMTPSA id l69-v6sm2836527ywl.51.2018.09.30.18.01.30 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 18:01:31 -0700 (PDT) Received: by mail-yw1-f48.google.com with SMTP id l79-v6so735901ywc.7 for ; Sun, 30 Sep 2018 18:01:30 -0700 (PDT) X-Received: by 2002:a0d:d302:: with SMTP id v2-v6mr4726475ywd.124.1538355690627; Sun, 30 Sep 2018 18:01:30 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:d116:0:0:0:0:0 with HTTP; Sun, 30 Sep 2018 18:01:29 -0700 (PDT) In-Reply-To: <20180930192526.4480231c@vmware.local.home> References: <20180925001832.18322-1-keescook@chromium.org> <20180925001832.18322-5-keescook@chromium.org> <20180926123522.4080d9eb@vmware.local.home> <20180930192526.4480231c@vmware.local.home> From: Kees Cook Date: Sun, 30 Sep 2018 18:01:29 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH security-next v3 04/29] LSM: Remove initcall tracing To: Steven Rostedt Cc: James Morris , "Serge E. Hallyn" , Abderrahmane Benbachir , linux-security-module , Casey Schaufler , John Johansen , Tetsuo Handa , Paul Moore , Stephen Smalley , "Schaufler, Casey" , Jonathan Corbet , "open list:DOCUMENTATION" , linux-arch , LKML 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 Sun, Sep 30, 2018 at 4:25 PM, Steven Rostedt wrote: > On Wed, 26 Sep 2018 11:35:21 -0700 > Kees Cook wrote: > >> On Wed, Sep 26, 2018 at 9:35 AM, Steven Rostedt wrote: >> > On Mon, 24 Sep 2018 17:18:07 -0700 >> > Kees Cook wrote: >> > >> >> This partially reverts commit 58eacfffc417 ("init, tracing: instrument >> >> security and console initcall trace events") since security init calls >> >> are about to no longer resemble regular init calls. >> > >> > I'm not against the change, but how much are they going to "no longer >> > resemble regular init calls"? >> >> My take on "regular" init calls is that they're always run, link-time >> ordered, etc. The changes proposed here will make it so not all >> initialization are run depending on runtime configurations, ordering >> will be flexible, etc. >> > > Will it still be a good idea to have a tracepoint for those calls? > Perhaps not an initcall tracepoint but some other kind? I'm not opposed. It could be a follow-up patch, I assume? -Kees -- Kees Cook Pixel Security