mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 10:15:57 +01:00
mmap gets called, now lets make it actually work
This commit is contained in:
@@ -6,6 +6,11 @@ Usage:
|
||||
/debugfs.sh
|
||||
|
||||
Requires `CONFIG_DEBUG_FS=y`.
|
||||
|
||||
Only the more basic fops can be implemented in debugfs, e.g. mmap is never called:
|
||||
|
||||
- https://patchwork.kernel.org/patch/9252557/
|
||||
- https://github.com/torvalds/linux/blob/v4.9/fs/debugfs/file.c#L212
|
||||
*/
|
||||
|
||||
#include <linux/debugfs.h>
|
||||
|
||||
Reference in New Issue
Block a user