Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3255359rdg; Tue, 17 Oct 2023 08:58:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHS3PvBprTtpB9B4XEQ/9nOfz+opXv3oSyVY4XmU2OgCbTtIm++4aErL9GAJCRjrPZGAW+K X-Received: by 2002:a17:90a:e17:b0:26d:43f0:7ce4 with SMTP id v23-20020a17090a0e1700b0026d43f07ce4mr2750276pje.8.1697558335418; Tue, 17 Oct 2023 08:58:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697558335; cv=none; d=google.com; s=arc-20160816; b=SFyViLpmU8sO9qCfO6qdussrq3gRzTEGi7L6LYmPuW2dMx3iAyeLKUl1LXAlR/AtY+ 5aru/DgLpXUhQvImnPhiO4Q8VB9GvRHd2u/uwZ5maD8QKzCqc6DM664deDCIoc2Ag9dm 6qIxBvG/aMSIBO8nI9ZYkwu0RBLxafVj3rVnMcXeSzV9xfXcYFSy6dygPbM5DRhruf9u 6M9CeBZ/WOuSnBLdWWeQuPZqJAHGzqV9+gKwop/VMa/C+dMbKBnFYxjXZk6lTjmv9MvN M8YhCe53275pAlD7il/B/rsbWyogJ3WRFruxFXf8rMswmNvSkUOWffb8GcYuDaQW759Q KHgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=q+Ae4qQ6cbR4vS2vgj340YtDADSFX7qvlsF9biuQBy8=; fh=SWpTZZLcGn1eCGSPs4/d4KikUQkWpsSkQ3+v1wG7y3o=; b=K/YLA03Zw7IUWDs6MzkVYGPNu4BvbrssfalaoOOW36JCszce2OZfxsoSqm9nW6uPrY iSlLCm0/okpBt5oKmXDArz0h0m850aOnGuyeEmmUvgSTOo3HYy6d+xlfdwsa1Df6Q0Hi eTBAFm7Jxlzbf3WKyz+mzIOHHSop0rsqiXd03UAB7p1IdP5dFYvhepLkQos+j/9l8E2F DWlfyNSVWkzeWmsS3WWX91qvH5WBEOcXBt9zoRne2S68v++8GRLDdVlIvRfpZMP101AA po8e1AAaI8pJSYz0QVN2rU8iFlBv0IwNufuD9qefoWMFzQeL3kxtj/9CAZL1Hj0UMu16 Y55A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b="GiWfB/pV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id ip3-20020a17090b314300b00277651787f1si2060822pjb.145.2023.10.17.08.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Oct 2023 08:58:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@paul-moore.com header.s=google header.b="GiWfB/pV"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=paul-moore.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 4B59B80DA8CF; Tue, 17 Oct 2023 08:58:53 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344017AbjJQP6k (ORCPT + 99 others); Tue, 17 Oct 2023 11:58:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235046AbjJQP6j (ORCPT ); Tue, 17 Oct 2023 11:58:39 -0400 Received: from mail-yb1-xb2c.google.com (mail-yb1-xb2c.google.com [IPv6:2607:f8b0:4864:20::b2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B23BA95 for ; Tue, 17 Oct 2023 08:58:37 -0700 (PDT) Received: by mail-yb1-xb2c.google.com with SMTP id 3f1490d57ef6-d9b9adaf291so3068968276.1 for ; Tue, 17 Oct 2023 08:58:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1697558317; x=1698163117; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=q+Ae4qQ6cbR4vS2vgj340YtDADSFX7qvlsF9biuQBy8=; b=GiWfB/pV2HgEVii073zNJxv/CUUwDOo6lLMqyMNPMmUBQ2Kpzm6PghlkZOHKVlYDNt epkpE2h+K+yTEpI4qzL/SklOhCg0gNKwsBxsvvKwjhnUPqFDxkP4/jjEss/Z7dgKOIdj YvhRu8CDUV4RfrD5NvfdW8vR0h3QUbw8kOjfhYPaazQnPSIeOuVvTwWWPiPPz0h2/bVk dXheED5UictAZE+Aiep+0gfVYq/anLUo4PkDUe1T2yDbVUaqUQ6IycWfSbN+qap7ktgx Qoguz+ubgjOCQNlPlbiAi4wiZP+wZ0TuQgdRRBHMVWfM++7aVUMIXMmY1xTTo91Eq/e7 K2Ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697558317; x=1698163117; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=q+Ae4qQ6cbR4vS2vgj340YtDADSFX7qvlsF9biuQBy8=; b=W1lDEAt6h6+laT0QWOXEco50hDO8FiWmABNbtYgEwt94LS97hqi+Jee7mGIxZ2RZFk T/pY+wzE/CqkCVXaYPKT4MH+d9Whq2quB8n+Pz8A94891RaIwQowK+5bAVj+Z/FsA+i8 vbCv9AcYnOgHdgi411X8aygLKbVLKP4xNmmG/+uXZkQwmsZM1kA4XK1MXExaBv6Z+LlK DzUDikKSIt9ETqvTnSOzR2+FCFm+P0fkNXuAZAHxUETQkBmPfeI1A/NTmy0Z3Wp/ciJ0 x8SkrUx3/LaSpTGIx0p3MwLhgg6MBCYgBJQ5C2PkF0Nkl+2A5Mzgf7d1gVVTM2dTGgus XVoA== X-Gm-Message-State: AOJu0Yyj7Dl66vZCd0vEu9ycP5bt5QFYzyhlGAbFKrHb/l3P2OTC2fAC WZQVr5dcE/de2RbmZ42o9wflrxu/4TIyz3dwxaDb X-Received: by 2002:a25:254:0:b0:d9b:6264:b79e with SMTP id 81-20020a250254000000b00d9b6264b79emr2308973ybc.53.1697558316522; Tue, 17 Oct 2023 08:58:36 -0700 (PDT) MIME-Version: 1.0 References: <20230912205658.3432-1-casey.ref@schaufler-ca.com> <20230912205658.3432-1-casey@schaufler-ca.com> <468436cf766732a3cfc55d07ad119a6ccdc815c1.camel@huaweicloud.com> In-Reply-To: <468436cf766732a3cfc55d07ad119a6ccdc815c1.camel@huaweicloud.com> From: Paul Moore Date: Tue, 17 Oct 2023 11:58:25 -0400 Message-ID: Subject: Re: [PATCH v15 00/11] LSM: Three basic syscalls To: Roberto Sassu Cc: Casey Schaufler , linux-security-module@vger.kernel.org, jmorris@namei.org, serge@hallyn.com, keescook@chromium.org, john.johansen@canonical.com, penguin-kernel@i-love.sakura.ne.jp, stephen.smalley.work@gmail.com, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, mic@digikod.net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Tue, 17 Oct 2023 08:58:53 -0700 (PDT) On Tue, Oct 17, 2023 at 3:01=E2=80=AFAM Roberto Sassu wrote: > On Mon, 2023-10-16 at 11:06 -0400, Paul Moore wrote: > > On Mon, Oct 16, 2023 at 8:05=E2=80=AFAM Roberto Sassu > > wrote: > > > > > > Sorry, I just noticed LSM_ID_IMA. Since we have the 'integrity' LSM, = I > > > think it should be LSM_ID_INTEGRITY. > > > > > > Mimi, all, do you agree? If yes, I send a patch shortly. > > > > I believe LSM_ID_IMA is the better option, despite "integrity" already > > being present in Kconfig and possibly other areas. "IMA" is a > > specific thing/LSM whereas "integrity" is a property, principle, or > > quality. Especially as we move forward with promoting IMA as a full > > and proper LSM, we should work towards referring to it as "IMA" and > > not "integrity". > > > > If anything we should be working to support "IMA" in places where we > > currently have "integrity" so that we can eventually deprecate > > "integrity". > > Hi Paul > > I fully understand your argument. However, 'integrity' has been the > word to identify the integrity subsystem since long time ago. > > Reducing the scope to 'ima' would create some confusion since, while > 'ima' is associated to integrity, it would not encompass EVM. Using LSM_ID_IMA to reference the combination of IMA+EVM makes much more sense to me than using LSM_ID_INTEGRITY, especially as we move towards promoting IMA+EVM and adopting LSM hooks for integrity verification, opening the door for other integrity focused LSMs. --=20 paul-moore.com