Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1098657imm; Wed, 26 Sep 2018 11:36:29 -0700 (PDT) X-Google-Smtp-Source: ACcGV614en+Yuuv1ooxw21yJVHpvGm+1f9JCv1X4NDiP/6ZEBNvPeiZpHPqGe169zvZ2Mtwrh3uq X-Received: by 2002:a63:c00b:: with SMTP id h11-v6mr6735024pgg.279.1537986989065; Wed, 26 Sep 2018 11:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537986989; cv=none; d=google.com; s=arc-20160816; b=IUVYle6MrEM7RSijw7CXEuwjKcJFPl84Crjl9K9Lps95V02eUCCi/f5ZWxZ1K/BCRD i6GmC48vpNVkF7/roq78Yjcf1reGLYjXt5/w6DTY30waI0mZzUgiaYc7qw6MnMUmKtld RiBRX55o61pEvIioFbSUflgOmgPtHLgCVOsXQjqbZux5J8e5+mPRCf9/XLgyI+fWRasB z7Xb/WYytuS0lNOS2LYjQrPdmap/MptOBL9eJ0vrrsisKBLJfOb+SBenvdHjEPV3UPoP 3RcZ6vWTJ03NznA1O0iFdJ+usGYUNSvLjpToXyEBXgBhAZbIxEhgC4xGLgeaNoHj50tI c4Kw== 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=xqg/CVetFeXQTY4DjT1EB9i5OooEB9rin8OAQqBGHzo=; b=qdhCCktlQ5XVAj8ZDH+Ihjt0c2BzIKMb0t6sFHywiSwi347t4jkOQ5czjPXqCGHFx/ oul1Rivg1ITbfEh8Y1SsFlydk8xW4y1PfIqX119KJiOH8XkkIYotTlivRGh49q+sb5jZ dqvp2YGMwdcaUeLWQohnQ7y/YNDMCcnE4holh88qRR+p7w8km+7Ws2Es9GBWeQnn9wP1 x/seYisO0URguGoCRozJ0yXHUEaON9j5qqAUNlhD/SpA/Gbx5/7ZctmxwQrCqz1eVUSn Y0jpfSgfy91E15B/nGnxzj5agANMFTt7YiBkLMPLSoSn1Nhx7sMuJJdeqBIhU98KfGDF 8y9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eBrM57gm; 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 t192-v6si5707330pgc.485.2018.09.26.11.36.13; Wed, 26 Sep 2018 11:36:29 -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=eBrM57gm; 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 S1727146AbeI0Atl (ORCPT + 99 others); Wed, 26 Sep 2018 20:49:41 -0400 Received: from mail-yw1-f65.google.com ([209.85.161.65]:36209 "EHLO mail-yw1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725733AbeI0Atl (ORCPT ); Wed, 26 Sep 2018 20:49:41 -0400 Received: by mail-yw1-f65.google.com with SMTP id e201-v6so5178070ywa.3 for ; Wed, 26 Sep 2018 11:35:25 -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=xqg/CVetFeXQTY4DjT1EB9i5OooEB9rin8OAQqBGHzo=; b=eBrM57gmEuBUCJgvWR+FauV7mvo98YY+yLH4livL48BdJN/SaRFsCKrnJgs+cwpp9V 8fIfNEMy29AGfwcssoo3cgyFrbjwYf9fqINcPNMZ2JhTk+xijfaL+SEQ8UfRKevqBn/B kSaxNkWsBnFIb/FaVHunbb0trfghPgoJ9wCYs= 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=xqg/CVetFeXQTY4DjT1EB9i5OooEB9rin8OAQqBGHzo=; b=IHG54hXpVo6d8f6kZv1ohlE/NkPtk1kImGt4DsxRvGmC4KjuHWtVE3kabtrd0ULh4A z4ieKHOoHillA9S2xnjjnrZZHPOqPDcpRm4J6Kz8ux2BD1bLGC7H9eLd42julqPCELAA z17fDPJK6uipK44GhkQ6y7Gju0F2+4jQZWhcHJkK+zcyXF/g8IZ6VKabmpyO8lD6nQd3 xH8IsEZ6uB61EgM0nn+48SJ+pTZBDvM7Z/0Z7QVSAVWe03i34F3Ul4dOgOMl8WmUYwdw 4PHWdtAUlkghiev7MD2HQLoUf/jt52BCXCSVa/mLZxP1hhLfM4RPktsA6HNAL9zgwO3E ygqg== X-Gm-Message-State: ABuFfohgQ+1y+7xyXQczi+TZ/c/7k2D6lpxxZBMlWQztJ9zeskIwaJzh UmI2PQ4mJ/ImhjrImHH7uKeiP0s9JNw= X-Received: by 2002:a81:5b08:: with SMTP id p8-v6mr3937466ywb.251.1537986925288; Wed, 26 Sep 2018 11:35:25 -0700 (PDT) Received: from mail-yw1-f47.google.com (mail-yw1-f47.google.com. [209.85.161.47]) by smtp.gmail.com with ESMTPSA id o202-v6sm8265650ywo.38.2018.09.26.11.35.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Sep 2018 11:35:23 -0700 (PDT) Received: by mail-yw1-f47.google.com with SMTP id m129-v6so5454554ywc.1 for ; Wed, 26 Sep 2018 11:35:23 -0700 (PDT) X-Received: by 2002:a81:98d7:: with SMTP id p206-v6mr3768461ywg.353.1537986923019; Wed, 26 Sep 2018 11:35:23 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:ab0a:0:0:0:0:0 with HTTP; Wed, 26 Sep 2018 11:35:21 -0700 (PDT) In-Reply-To: <20180926123522.4080d9eb@vmware.local.home> References: <20180925001832.18322-1-keescook@chromium.org> <20180925001832.18322-5-keescook@chromium.org> <20180926123522.4080d9eb@vmware.local.home> From: Kees Cook Date: Wed, 26 Sep 2018 11:35:21 -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 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. -Kees -- Kees Cook Pixel Security