I've recently learned about kernel modules and I was thinking on how to create one that does what cat /proc/cpuinfo
does.
Is it possible to do this without opening/reading the file directly (fread)?
Thanks in advance!
I've recently learned about kernel modules and I was thinking on how to create one that does what cat /proc/cpuinfo
does.
Is it possible to do this without opening/reading the file directly (fread)?
Thanks in advance!