diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2012-01-13 09:32:15 +1030 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-01-13 09:32:15 +1030 |
commit | cca3e707301862ca9b9327e6a732463982f8cd1b (patch) | |
tree | 5cc4767c5167e430209bcea7e43400a9f2e471ab /scripts | |
parent | 8487bfd954928660a52e91384a9b1f1049217e35 (diff) | |
download | lwn-cca3e707301862ca9b9327e6a732463982f8cd1b.tar.gz lwn-cca3e707301862ca9b9327e6a732463982f8cd1b.zip |
modules: sysfs - export: taint, coresize, initsize
Recent tools do not want to use /proc to retrieve module information. A few
values are currently missing from sysfs to replace the information available
in /proc/modules.
This adds /sys/module/*/{coresize,initsize,taint} attributes.
TAINT_PROPRIETARY_MODULE (P) and TAINT_OOT_MODULE (O) flags are both always
shown now, and do no longer exclude each other, also in /proc/modules.
Replace the open-coded sysfs attribute initializers with the __ATTR() macro.
Add the new attributes to Documentation/ABI.
Cc: Lucas De Marchi <lucas.demarchi@profusion.mobi>
Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions