Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1495854ybp; Wed, 9 Oct 2019 15:16:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWv5/GjHU8APAXqAOqC4elT3cWTUzvCp4JLsZGSYfmcrrIxMR+e2bYhQkDuMCK5vO2XJdh X-Received: by 2002:a17:906:3415:: with SMTP id c21mr5201499ejb.190.1570659366828; Wed, 09 Oct 2019 15:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570659366; cv=none; d=google.com; s=arc-20160816; b=uaql8LEmfBSiUmkqQrMPx3UQMhoUSMfoS3Up6P0moCyHi9r3xqjx4vWdGiqJ7tlzsw VHucwSH6Jr4t+5NVlkXFYwTELqnot6K3DjKX+YnpYbyn4WKnFvXhotQZDKFKVVO2rCc2 snr9udeHCT/F9D/m4LTBRfRhFqJpkJLDJz7zxZtsraqpudvDSFlMQowKceF7FIw5gzFM 0y6ybZcssgjHP8Qi+wKSH12kFheUr2cDlTrXtXhQQznoFg5yughxS/gYSR/cWswPMUgz h79r2m/Tg+5O0l5h5RF+algIaU7u27FXOPDS5qapJpIrp5haBMgcpDUJBl50ScBZIICG /PvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=tXx1qwf91y303TRB4kJThOq9tOUxPxg2kkf3LbPx+Gg=; b=mJybe+kGTjnVu9mKhL7USo9dexs8J2ti9WAblWOFo5PjeUJiGp4pQ6bw/qte0yhZSc vd1Le++PVYhtkDGAdW0QjYbRWrXvAv3DvR52AtuLXXragTZf6vHSW2kf7S4T6/vhomtK gBKPKCCgUDNm9DUdfzRpdasiTE4BxZb2RV2PM4/GPFG3Q2cWfm1b2d8VivN1Zvz4cGDd 4HB9QTncmXI/Wz+KnSCRVUzlao9CzKqo13XQvCrxN4JjSm6sKVHWkp0Pp0T3piNK9VCD srUhjPAsX8Cr4rKepHSbmtcfTxLGS992EABmFvdsQUqpxq/DoSIBrqAiOgmxoAmeXbeR XNWQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c14si1917265ejz.242.2019.10.09.15.15.43; Wed, 09 Oct 2019 15:16:06 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732192AbfJIWPm (ORCPT + 99 others); Wed, 9 Oct 2019 18:15:42 -0400 Received: from namei.org ([65.99.196.166]:53370 "EHLO namei.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730675AbfJIWPl (ORCPT ); Wed, 9 Oct 2019 18:15:41 -0400 Received: from localhost (localhost [127.0.0.1]) by namei.org (8.14.4/8.14.4) with ESMTP id x99MEi61030164; Wed, 9 Oct 2019 22:14:45 GMT Date: Thu, 10 Oct 2019 09:14:44 +1100 (AEDT) From: James Morris To: Casey Schaufler cc: "Joel Fernandes (Google)" , linux-kernel@vger.kernel.org, Peter Zijlstra , rostedt@goodmis.org, primiano@google.com, rsavitski@google.com, jeffv@google.com, kernel-team@android.com, Alexei Starovoitov , Arnaldo Carvalho de Melo , bpf@vger.kernel.org, Daniel Borkmann , Ingo Molnar , Jiri Olsa , Kees Cook , linux-security-module@vger.kernel.org, Matthew Garrett , Namhyung Kim , selinux@vger.kernel.org, Song Liu , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Yonghong Song Subject: Re: [PATCH RFC] perf_event: Add support for LSM and SELinux checks In-Reply-To: <710c5bc0-deca-2649-8351-678e177214e9@schaufler-ca.com> Message-ID: References: <20191009203657.6070-1-joel@joelfernandes.org> <710c5bc0-deca-2649-8351-678e177214e9@schaufler-ca.com> User-Agent: Alpine 2.21 (LRH 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 9 Oct 2019, Casey Schaufler wrote: > Please consider making the perf_alloc security blob maintained > by the infrastructure rather than the individual modules. This > will save it having to be changed later. Is anyone planning on using this with full stacking? If not, we don't need the extra code & complexity. Stacking should only cover what's concretely required by in-tree users. -- James Morris