From patchwork Mon Dec 19 20:46:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen Webb X-Patchwork-Id: 13077160 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 8ADEAC4167B for ; Mon, 19 Dec 2022 20:47:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232361AbiLSUrP (ORCPT ); Mon, 19 Dec 2022 15:47:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58412 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232688AbiLSUqp (ORCPT ); Mon, 19 Dec 2022 15:46:45 -0500 Received: from mail-yw1-x1149.google.com (mail-yw1-x1149.google.com [IPv6:2607:f8b0:4864:20::1149]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 692FF13D24 for ; Mon, 19 Dec 2022 12:46:33 -0800 (PST) Received: by mail-yw1-x1149.google.com with SMTP id 00721157ae682-411c31a2c20so120753527b3.12 for ; Mon, 19 Dec 2022 12:46:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:from:to:cc:subject:date:message-id:reply-to; bh=ffbS/pv8mbkzwi7BuDuXxKBVWgm3Q+ZGzVMRzNeN5+Y=; b=P+tl9R92zOQTC3t4VBw6Y+REEQFR+YIPONKj6GW/JEp8bc5No52C7OOCdrsY39r2pk ySPHB3qcvlRU5J3a0c1HKvTnRbrxxdIckGKtiUEsyPUN5l0UfD7v1cnFyxsrMHjSeg9k ntwmZ6EMaNMngUAGGGjhgxLGtrqzmZppNYMUFeLMBFNfhfJNRapWUo64IFmy95TDVTW6 eYrn2ifH7UePSbFRu2IUDUsVJRJvY1OfevX06T1K98mae5bCESQfnTcEHkMzZpKmcw2g 1P8ECfIrvtAqhfF2Tnx6DZS+hcBtScf5fdyw1R4krdijYiv/Vn51BrnMfhW4zs8gKpg2 1oQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:from:subject:message-id:references:mime-version:in-reply-to :date:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=ffbS/pv8mbkzwi7BuDuXxKBVWgm3Q+ZGzVMRzNeN5+Y=; b=I7qMesNB4h8reucHTEB2F6qevo7X/DXpQjr8Wm1x6RRPndGu0YzJ4gqsatHdHl+jE4 VbWrNnauDeV+8gYEztPcBA7spKWs+vQjFyRNNfJRp/sjGkgR8Y12wCmyRAQTt7gnmRqR sVR6rXZjZ1CcjglTGUUAOWv+VPQjW+q3pdTQtCEGrlWc9hkTocLGLd+5piffXd/4r2Rm cYpyzctUT4ZWCDenpVpbG81lY+jvfjA83Ud1WRGCpyKKVKJeTwZYGUV+85XiCl9PoBfo oUz3eYtKTAzEUSuCg3aUTWHJTHUoZJ0Yw6c1mWwmtJE+m+WlZzumb3/LslVgzRaaCyYD CyRQ== X-Gm-Message-State: ANoB5pn5B/M46RZaIeQfS3oKQkLwob2s00Pzsr7MbMtvVRj882Qd0i5t SqtTHbH6Je3gV0vE/s+WYVsHOTgoFsNV8d3gg7SAnHUbQ5PgtfJGVekkJ0jGunzpceahRVDCerZ dL9o/XLTym7Ctml7HAWC9I0oA9S7w9I80AJEV70WTC3S84i6AScER21ZtwdctnFCeNPUOxK8ZOT 496hI= X-Google-Smtp-Source: AA0mqf6w0d+8XmJPolVDX0bIGkOzyjIsL/6QyfMCMFcnlg7Ya0kUphOTNwSV8DaOZXqoHbReS+J1QcL40M1hjW8= X-Received: from allenwebb.c.googlers.com ([fda3:e722:ac3:cc00:2b:ff92:c0a8:12e8]) (user=allenwebb job=sendgmr) by 2002:a05:690c:ec2:b0:3bd:7135:c319 with SMTP id cs2-20020a05690c0ec200b003bd7135c319mr4467546ywb.89.1671482792621; Mon, 19 Dec 2022 12:46:32 -0800 (PST) Date: Mon, 19 Dec 2022 14:46:18 -0600 In-Reply-To: <20221219204619.2205248-1-allenwebb@google.com> Mime-Version: 1.0 References: <20221219191855.2010466-1-allenwebb@google.com> <20221219204619.2205248-1-allenwebb@google.com> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog Message-ID: <20221219204619.2205248-11-allenwebb@google.com> Subject: [PATCH v9 10/10] docs: Include modules.builtin.alias From: Allen Webb To: "linux-modules@vger.kernel.org" , "linux-usb@vger.kernel.org" , "linux-kernel@vger.kernel.org" Cc: Luis Chamberlain , Greg Kroah-Hartman , "Rafael J. Wysocki" , Allen Webb Precedence: bulk List-ID: Update the documentation to include the presense and use case of modules.builtin.alias. Signed-off-by: Allen Webb --- Documentation/kbuild/kbuild.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/kbuild/kbuild.rst b/Documentation/kbuild/kbuild.rst index 08f575e6236c..1c7c02040a54 100644 --- a/Documentation/kbuild/kbuild.rst +++ b/Documentation/kbuild/kbuild.rst @@ -17,6 +17,12 @@ modules.builtin This file lists all modules that are built into the kernel. This is used by modprobe to not fail when trying to load something builtin. +modules.builtin.alias +--------------------- +This file lists all match-id based aliases for modules built into the kernel. +These are intended to enable userspace to make authorization decisions based +on which modules are likely to be bound to a device after it is authorized. + modules.builtin.modinfo ----------------------- This file contains modinfo from all modules that are built into the kernel.