From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from fhigh-b3-smtp.messagingengine.com (fhigh-b3-smtp.messagingengine.com [202.12.124.154]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2797387570; Sat, 7 Mar 2026 09:00:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=202.12.124.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772874027; cv=none; b=WLhhZ4h6glf2Na8XRkSSdJz3HwgRSN1frE96KsLF7amR+SpPVBuujAABiXQ7uYzkxTBLj1dMZxrbZFqs7nMk01BmS3LOxqYR+MW6hWB2BvpiX5Ou2j3k7oqIYcRA6DAXueCfJbC1pfWrqXhbsd/UqBkQ1kNvdKJDSC/iOSKurDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772874027; c=relaxed/simple; bh=4FUgOUrZ1hC5U7kxPWVLWjuecLqnImFCvvAOKygFs8Q=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=JYWU3UNSNGnr/E1ODfQQpEZr2pzWnXQmD2JG7ky35BsSBsr8y2P01ceL7M6MQLPLd4ovXDmAEMXZDfdHn0nFwldITTXi1DCbnn/3Id1EBYikxi0V/KaSP5TONLNCEA+YnnvmcKEWzuI2xDjmZW0ylta1vXH9XbWlrP79bPYQul8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=opensource.nslick.com; spf=none smtp.mailfrom=opensource.nslick.com; dkim=pass (2048-bit key) header.d=nslick.com header.i=@nslick.com header.b=CwnRupca; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=PMlJx67J; arc=none smtp.client-ip=202.12.124.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=opensource.nslick.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=opensource.nslick.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nslick.com header.i=@nslick.com header.b="CwnRupca"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="PMlJx67J" Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 1717A7A0269; Sat, 7 Mar 2026 04:00:25 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sat, 07 Mar 2026 04:00:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nslick.com; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1772874024; x= 1772960424; bh=1KxeQ6pIsqLba7ZzzJifr8CDCAYKv5nTwzGMM4oSELs=; b=C wnRupcalwbQotZPwwKH/WUxkOkFOl2hnXZ3vavRhxuzxeQJqqP1UUEyGdeitlzwV Zb8gPmK4fKpDjqxdYbcMbqNjJtNlx+sx9kqVImIzZPXSH6a2jpjxemqyJL1bmstr Dh1rtL5P/bQ6B4Dt6oDGOpQzl2FvEqVzBUvXQI5meLc+SsikGDgBzHHOiBJqz1XF P7GZvsg0lWuHazn0+5y20OseymEd5GfExNF85T7NnqbUwfd5osZmEqXeA1KdQe4P JZOQ+O7QPuB53LlG+lmW3m1sn+kugvQDT5Io/ZvDQQNNgS0reeouYW4gq2BeDze+ ZCUaMAgtP7d6twRzrfPzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; t=1772874024; x=1772960424; bh=1 KxeQ6pIsqLba7ZzzJifr8CDCAYKv5nTwzGMM4oSELs=; b=PMlJx67JpN/syT8H6 Syvaouami92MLjow2oOI+y6iOh1xI1B457MW/EM3xvmyTD+R6tD5FSP6P7LNIHTN dL7vo7K9gZlZAH+tF+UlGo1XX0DO+I4nqQrAPyNBbelbYaKlmIVZ4FLnD5va+HqD pdGwE6gJSQGwrgMKnx7aKn8+z0rCmrB3yXACY/JfeP12c8heS7Iqdf75nsmReyfH ljbT/q2FArSxQbgZUBNkNawUp2/gAUQVJvmCfdpJ73xQQE42i1ancwH18/RkLJgu DtZFK718wmNH5NEmq6+n+4dwoc1nZjwAvGVEBF3NH0BW9VTIYzIIQUPDQXxEKRQi 2W0tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvjedukedtucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefufffkofgjfhgggfestdekredtredttdenucfhrhhomheppfhitghhohhl rghsucfuihgvlhhitghkihcuoehlihhnuhigsehophgvnhhsohhurhgtvgdrnhhslhhitg hkrdgtohhmqeenucggtffrrghtthgvrhhnpeetudevkeeuvefghfetleehkeegudeigfel gffhtedvkeevgfekueelfeevfeelieenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpehlihhnuhigsehophgvnhhsohhurhgtvgdrnhhslhhitghk rdgtohhmpdhnsggprhgtphhtthhopedugedpmhhouggvpehsmhhtphhouhhtpdhrtghpth htohepmhgtghhrohhfsehkvghrnhgvlhdrohhrghdprhgtphhtthhopehpvghtrhdrphgr vhhluhesshhushgvrdgtohhmpdhrtghpthhtohepuggrrdhgohhmvgiisehkvghrnhgvlh drohhrghdprhgtphhtthhopehsrghmihhtohhlvhgrnhgvnhesghhoohhglhgvrdgtohhm pdhrtghpthhtoheprghtohhmlhhinhesrghtohhmlhhinhdrtghomhdprhgtphhtthhope hmrggvnhhnihgthhesghhoohhglhgvrdgtohhmpdhrtghpthhtohepphgvthgvrhiisehi nhhfrhgruggvrggurdhorhhgpdhrtghpthhtoheptghorhgsvghtsehlfihnrdhnvghtpd hrtghpthhtohepshhkhhgrnheslhhinhhugihfohhunhgurghtihhonhdrohhrgh X-ME-Proxy: Feedback-ID: i78f146c6:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 7 Mar 2026 04:00:24 -0500 (EST) From: Nicholas Sielicki To: Luis Chamberlain , Petr Pavlu , Daniel Gomez Cc: Sami Tolvanen , Aaron Tomlin , Matthias Maennich , Peter Zijlstra , Jonathan Corbet , Shuah Khan , Randy Dunlap , linux-modules@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Nicholas Sielicki Subject: [PATCH v2 2/2] docs: symbol-namespaces: mention sysfs attribute Date: Sat, 7 Mar 2026 03:00:10 -0600 Message-ID: <20260307090010.20828-3-linux@opensource.nslick.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260307090010.20828-1-linux@opensource.nslick.com> References: <20260307090010.20828-1-linux@opensource.nslick.com> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Reference the new /sys/module/*/import_ns sysfs attribute in docs as an alternative to modinfo for inspecting imported namespaces of loaded modules. Signed-off-by: Nicholas Sielicki --- Documentation/core-api/symbol-namespaces.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Documentation/core-api/symbol-namespaces.rst b/Documentation/core-api/symbol-namespaces.rst index 034898e81ba2..2304d5bffcce 100644 --- a/Documentation/core-api/symbol-namespaces.rst +++ b/Documentation/core-api/symbol-namespaces.rst @@ -114,6 +114,11 @@ inspected with modinfo:: import_ns: USB_STORAGE [...] +For modules that are currently loaded, imported namespaces are also available +via sysfs:: + + $ cat /sys/module/ums_karma/import_ns + USB_STORAGE It is advisable to add the MODULE_IMPORT_NS() statement close to other module metadata definitions like MODULE_AUTHOR() or MODULE_LICENSE(). -- 2.53.0