mmap gets called, now lets make it actually work

This commit is contained in:
Ciro Santilli
2017-07-27 15:10:41 +01:00
parent 75afeba635
commit 41742640cf
3 changed files with 102 additions and 4 deletions

View File

@@ -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>