All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nicholas Sielicki <linux@opensource.nslick.com>
To: Luis Chamberlain <mcgrof@kernel.org>,
	Petr Pavlu <petr.pavlu@suse.com>,
	Daniel Gomez <da.gomez@kernel.org>
Cc: Sami Tolvanen <samitolvanen@google.com>,
	Aaron Tomlin <atomlin@atomlin.com>,
	Matthias Maennich <maennich@google.com>,
	Peter Zijlstra <peterz@infradead.org>,
	Jonathan Corbet <corbet@lwn.net>,
	Shuah Khan <skhan@linuxfoundation.org>,
	Randy Dunlap <rdunlap@infradead.org>,
	linux-modules@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Nicholas Sielicki <linux@opensource.nslick.com>
Subject: [PATCH v2 0/2] module: expose imported namespaces via sysfs
Date: Sat,  7 Mar 2026 03:00:08 -0600	[thread overview]
Message-ID: <20260307090010.20828-1-linux@opensource.nslick.com> (raw)

Add /sys/module/*/import_ns to expose the symbol namespaces imported
by a loaded module.

Changes since v1:
- Simplified commit message to drop unnecessary/incorrect background
- Use .setup/.free callbacks in module_attribute to ensure
  imported_namespaces is NULL-initialized before error paths and
  NULL'd after kfree (Sami)
- Updated KernelVersion to 7.1 in docs for next merge window

             reply	other threads:[~2026-03-07  9:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-07  9:00 Nicholas Sielicki [this message]
2026-03-07  9:00 ` [PATCH v2 1/2] module: expose imported namespaces via sysfs Nicholas Sielicki
2026-03-07  9:30   ` Peter Zijlstra
2026-03-09 11:15     ` Matthias Männich
2026-03-07  9:00 ` [PATCH v2 2/2] docs: symbol-namespaces: mention sysfs attribute Nicholas Sielicki
2026-03-20 17:45 ` [PATCH v2 0/2] module: expose imported namespaces via sysfs Sami Tolvanen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260307090010.20828-1-linux@opensource.nslick.com \
    --to=linux@opensource.nslick.com \
    --cc=atomlin@atomlin.com \
    --cc=corbet@lwn.net \
    --cc=da.gomez@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-modules@vger.kernel.org \
    --cc=maennich@google.com \
    --cc=mcgrof@kernel.org \
    --cc=peterz@infradead.org \
    --cc=petr.pavlu@suse.com \
    --cc=rdunlap@infradead.org \
    --cc=samitolvanen@google.com \
    --cc=skhan@linuxfoundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.