Skip to content

module: expose imported namespaces via sysfs

Nicholas Sielicki linux-doc linux-modules lkml 2 versions – Applied

Status from this message: Applied to modules-next, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesApplied
  2. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

- 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

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2module: expose imported namespaces via sysfsDocumentation/ABI/testing/sysfs-module include/linux/module.h kernel/module/main.c+78 -12 replies
2/2docs: symbol-namespaces: mention sysfs attributeDocumentation/core-api/symbol-namespaces.rst+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] module: expose imported namespaces via sysfs

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