mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
Move debugfs, rootfs and procfs documentation to README
This commit is contained in:
@@ -1,15 +1,4 @@
|
||||
/*
|
||||
Yet another fops entrypoint.
|
||||
|
||||
https://stackoverflow.com/questions/8516021/proc-create-example-for-kernel-module
|
||||
|
||||
insmod /procfs.ko
|
||||
cat /proc/lkmc_procfs
|
||||
|
||||
Output:
|
||||
|
||||
abcd
|
||||
*/
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#procfs */
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
#include <linux/module.h>
|
||||
|
||||
Reference in New Issue
Block a user