Fix parsing of seven-column /proc/modules#595
Fix parsing of seven-column /proc/modules#595psfrolov wants to merge 6 commits intokellyjonbrazil:devfrom
Conversation
In modern Linux distributions (e.g. Ubuntu 22.04 and newer) `/proc/modules` contain seven columns. The seventh column denotes module taint state.
|
Nice, thanks for the contribution! |
|
Do you have test in/out files you can add to |
I can collect input data and parsing result from Ubuntu machine for new test case Also a question regarding existing (failed) tests: should I fix existing tests by adding |
|
Could you modify the code so |
|
@psfrolov could you make the change above and add tests? Thanks! |
In modern Linux distributions (e.g. Ubuntu 22.04 and newer)
/proc/modulescontain seven columns. The seventh column denotes module taint state.