Help with the question on the kernel module!
In general, you need to output random numbers not in the kernel log, but write to a pseudo file so that you can read from there (for example, by writing cat /proc/mybuffer
).
Maybe this link will help: file system / proc: create files that can be read .
Source: https://ru.stackoverflow.com/questions/66748/
All Articles