Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp807599rdh; Sun, 24 Sep 2023 12:48:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGM3P3xWu1jndWFigkJnQnb2V/gwWyYntzCnSIUaHJUYh5ZpO03s9e2ePjKAjXmf3S8xA63 X-Received: by 2002:aca:1318:0:b0:3ab:8b80:9c79 with SMTP id e24-20020aca1318000000b003ab8b809c79mr6556541oii.52.1695584908712; Sun, 24 Sep 2023 12:48:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695584908; cv=none; d=google.com; s=arc-20160816; b=njOvWtmkQSKceBRYTpVHu3K4Qj9H0/xP8VVSpuKIefdk5J1vk2KJBfDeqFaMcWDBqT 6IxFFMcQJLyarH1MFHhGzu4XjWAmY+iyLpKIwhcy6lpp6gGgfY/8biSn75wONdAbQt9G ElpBiWCB0xt4GN9atcYCRCoGkmp7HlAx9HaMESPSuEfQt49AiHVF0uc+IkHNLieiy8xF d23PBCsYdUv2n1v8/juIV2xxD64U4DHqeNhHF6P7dIH/duDKtm5AQXuwOeZBhLwu7pBW LEGSG/pQzRVWoLut3jRR2g5RchE6BYilZzJSKYtUIJ8+PTdpDbAQ2M15E8yN2wIgYxJe 3E2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=5Onc92KGBnnZkEd8wjE/RFWaXZfOlLTcRzFhsdsGrpQ=; fh=6Wl9zTM+a/z4j3DubsA19Xhcqvgtatxfh/SoBIDudfs=; b=kV1fJ0KEzdu04fEu02icL8nUxw3vkdRGWp6tR8enxFETNoYgMwYyIkPyW4wK9WVF17 GwKE3IUgmIaAkiazxHzXqQTVG9nZEYplRvyN/WvCgCb+2UMOPQOOqX2KJALJT6Cq/ZYx lqUU/DY3L640wysDZt9wHp4/AfVXh4yrKQDZ0GUQmqtqWEMofRN9RBjNvIZx84UZrgwX pyjtgkRsWjBjj0HStO81JpzDoorQ98PIuT4o580F9NCpJR9yI0gFSzFp1G09K3y1SRJH Gwx6g6Qxw26UI/7SKGM3BZQKy32Dhkyz7JCvth+ZteB/i/gT5wVHXWow65uzAH659N2C 5ilQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P7MuQXYE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id cl3-20020a056a0032c300b00690c0055246si8516737pfb.294.2023.09.24.12.48.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Sep 2023 12:48:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=P7MuQXYE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 7F46F801CCED; Sun, 24 Sep 2023 12:48:26 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231392AbjIXTsZ (ORCPT + 99 others); Sun, 24 Sep 2023 15:48:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229698AbjIXTsY (ORCPT ); Sun, 24 Sep 2023 15:48:24 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90E5DD3; Sun, 24 Sep 2023 12:48:18 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 20080C433C7; Sun, 24 Sep 2023 19:48:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695584898; bh=aWZU5UswlWXquKo6TvzlVJ0C2F5RZIJgKxqaiKhJe0w=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=P7MuQXYExhov1tOcpJNBJi+Dptm2BawzZz407EtRwDNs0+z52FABR1ecbYXtEX6jb b4ZLH4pkOC77kz3n4wSTvRGzGqaPj/4lkcqXXyIYfp6ljxnRDcb1qKBB8X/AXCgVI6 82vNGIkMjWEWvi/Gq9H7WnzU0f6sbqfObsxvH2HkACKrZhy99munQ/ygsamKl8SH/6 J2EKMTuIjq4FuGxeZXA7F9mwbCx1YmBIcCjMRjEmfREWMAApupMouHnJYZKmXXK1XZ SH4mGe4Wp69zQ6mbayHCa3CSbaA/XJwrtnOLRbnCy0zxICkpoaykhoh0+cHInynUDO g/vNs/JQX26Qw== Date: Sun, 24 Sep 2023 12:48:15 -0700 From: Kees Cook To: Tetsuo Handa , Kees Cook CC: Casey Schaufler , paul@paul-moore.com, linux-security-module@vger.kernel.org, jmorris@namei.org, serge@hallyn.com, john.johansen@canonical.com, stephen.smalley.work@gmail.com, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, mic@digikod.net, Dave Chinner , Linus Torvalds , Jonathan Corbet Subject: Re: [PATCH v15 01/11] LSM: Identify modules by more than name User-Agent: K-9 Mail for Android In-Reply-To: References: <20230912205658.3432-1-casey@schaufler-ca.com> <20230912205658.3432-2-casey@schaufler-ca.com> <1f5e725d-58b6-eca2-97dc-d7c1209ff167@I-love.SAKURA.ne.jp> <568c0730-b458-04b4-dbfa-77da1758aa05@schaufler-ca.com> <94743c22-bc76-e741-e577-3e0845423f69@I-love.SAKURA.ne.jp> <6df9f8b8-5653-09a5-ae0a-6526016abaff@schaufler-ca.com> <202309200803.1911A584@keescook> <202309231838.CB16E6B5@keescook> Message-ID: <407A11DD-932D-441E-B4EC-673F4423CEDD@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Sun, 24 Sep 2023 12:48:26 -0700 (PDT) On September 24, 2023 4:06:07 AM PDT, Tetsuo Handa wrote: >Patch description says > > The LSM ID values are sequential, with the oldest module > LSM_ID_CAPABILITY being the lowest value and the existing modules > numbered in the order they were included in the main line kernel=2E > This is an arbitrary convention for assigning the values, but > none better presents itself=2E The value 0 is defined as being invalid= =2E "in the order they were included in the main line kernel" Out of trees are= n't in main line=2E And "This is an arbitrary convention" specifically says it's arbitrary=2E There is literally nothing here stopping out of tree modules=2E I have pro= ven this, and so have you with these quotes=2E What is left to object to? >You withdraw your "Reviewed-by" response unless "The LSM ID values are se= quential" >and "must be approved by the LSM maintainers" are removed and "the LSM ma= intainers/community >shall never complain about what names and/or values are assigned" is adde= d, don't you? *For main line kernels* Please, understand both the *intent* and *reality*: this does not block ou= t of tree LSMs, full stop=2E >Keeping how the HUGE space is used under control of the LSM community wil= l be >better for both in-tree and out-of-tree LSM modules=2E I really can't und= erstand >why you don't want to utilize this opportunity=2E I cannot understand what else you need to hear=2E -Kees --=20 Kees Cook