# \[PATCH v2 0/2\] module: expose imported namespaces via sysfs

- From: Nicholas Sielicki \<hidden\>
- Date: 2026-03-07 09:00:22 
- List: linux-modules
- Page: https://ratatoskr.run/linux-modules/2026/03/3446014
- Thread: https://ratatoskr.run/linux-modules/2026/03/3446014/t.md

```text
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
```
