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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4BD59C7EE45 for ; Fri, 9 Jun 2023 20:06:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229684AbjFIUGO (ORCPT ); Fri, 9 Jun 2023 16:06:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229517AbjFIUGL (ORCPT ); Fri, 9 Jun 2023 16:06:11 -0400 Received: from mail-ot1-x32d.google.com (mail-ot1-x32d.google.com [IPv6:2607:f8b0:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5EDA61A1 for ; Fri, 9 Jun 2023 13:06:09 -0700 (PDT) Received: by mail-ot1-x32d.google.com with SMTP id 46e09a7af769-6b160f3f384so899366a34.3 for ; Fri, 09 Jun 2023 13:06:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1686341168; x=1688933168; 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=HhgUZ/b6d8SyK6wuMhy/QUdrYEmRpokDPNLka3VEsFM=; b=NMpC/mp9kDSPKq28g6LDQCDDNdNID/NGCD4PlXsPaupeI+dF9VZy9b2ejR281Q3k98 rb8B22FPmmZ0RD4boaJzVR/s13NgyWQkfTqCJpoiQvLGx/u6K2eDihPxJgpaWCTPN9M4 69YLB0faetThS7IigtDzx38Q/Cptxe1++JWyviikhxkBlY8rTQoVyr7EdInLRnwS+yoQ 2kIvx+KBDoNXPuvn3sR39ADkFEecwxizVPVYt7ZeAqP/Vtt31UlnUdu2P/AgAsHIkhM4 InASaCsWEX6YsVrMjZe4FIE5oVOrAfeLrdPnhopkUt4SfFhxVdvI4CaSbx4IB7fK6fJt npig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686341168; x=1688933168; 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=HhgUZ/b6d8SyK6wuMhy/QUdrYEmRpokDPNLka3VEsFM=; b=lgtjYS+W9nbvhRAFxA4GOZRH1mhQqZFvY42eu3djZasQlaWexH0zd/MPH51iNeYNWv 83D+9vnLT1Otg+fBkMSGZ+3ZZqXdyj1k9VXgRRqRopkPKAW64j7Hsweh0ID7S4duM3mP dCmCGmHJwc0opdJrhtgcTlQK4fPl6jdF92sS06JJGCKON3tcrvW0VaMEu7G1/MPSv7vL TVJMRVFVC36SR/6kZ9Qu5wLmIvDYzd2IWA4lH4wF+3b9CSCcSawY0eenfa92xXK9/CcL ib18xkYC5FizkybL3u2A/9q6bZGH4as2JZTwzZzhKxXK6R8wHTjCWfPX1oowNbMaTNg3 yoag== X-Gm-Message-State: AC+VfDxq6hNtP7zhbP8TETAKf7ryk1I+R+d+sMEE6dxlRn3p2nXPIkIp qCLNL1oQu9c4ScSVBbf96nH8edcEf84T+a9jiaPg X-Google-Smtp-Source: ACHHUZ46O13fZRr5wz1JZPgAzoj3AsioK3u9YBoDpoGeFFr4WNUgRnEFS4DSXi6Tlfcrxs+oLK/wnZQXgEqZ/V9Vh+s= X-Received: by 2002:a05:6358:9f92:b0:129:bfd3:994 with SMTP id fy18-20020a0563589f9200b00129bfd30994mr1938185rwb.20.1686341168398; Fri, 09 Jun 2023 13:06:08 -0700 (PDT) MIME-Version: 1.0 References: <20230603191518.1397490-1-roberto.sassu@huaweicloud.com> In-Reply-To: <20230603191518.1397490-1-roberto.sassu@huaweicloud.com> From: Paul Moore Date: Fri, 9 Jun 2023 16:05:57 -0400 Message-ID: Subject: Re: [PATCH v11 0/4] evm: Do HMAC of multiple per LSM xattrs for new inodes To: Roberto Sassu Cc: zohar@linux.ibm.com, dmitry.kasatkin@gmail.com, jmorris@namei.org, serge@hallyn.com, stephen.smalley.work@gmail.com, eparis@parisplace.org, casey@schaufler-ca.com, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, selinux@vger.kernel.org, bpf@vger.kernel.org, kpsingh@kernel.org, keescook@chromium.org, nicolas.bouchinet@clip-os.org, Roberto Sassu Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 3, 2023 at 3:16=E2=80=AFPM Roberto Sassu wrote: > > From: Roberto Sassu > > One of the major goals of LSM stacking is to run multiple LSMs side by si= de > without interfering with each other. The ultimate decision will depend on > individual LSM decision. > > Several changes need to be made to the LSM infrastructure to be able to > support that. This patch set tackles one of them: gives to each LSM the > ability to specify one or multiple xattrs to be set at inode creation > time and, at the same time, gives to EVM the ability to access all those > xattrs and calculate the HMAC on them ... Thanks for sticking with this Roberto, I see a few comments/suggestions on this patchset, but overall it is looking pretty good; I'm hopeful we will be able to merge the next revision. --=20 paul-moore.com