|
|
50570326d4
|
fix kernel modules build after updating linux to v5.9.2
- `dep.c` and `dep2.c`: `debugfs_create_u32` does not return anymore, not
sure why:
https://unix.stackexchange.com/questions/593983/creating-a-debugfs-file-that-is-used-to-read-write-u32-value/621282#621282
So just doing `debugfs_lookup` for now
- vermagic.c:
51161bfc66
prevents its usage in v5.8. Just migrating to `init_utsname` for now
- procfs.c: `struct file_operations` moved to a new `struct proc_ops` at:
b567e07513
- myprintk.c: `pr_warning` dropped for `pr_warn`:
61ff72f401
- `poll.c`: `kthread_func` is not defined in kernel, prefix with lkmc to
avoid conflict
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/136
Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/137
|
2020-11-24 00:00:01 +00:00 |
|
|
|
2ea5e17d23
|
kernel_modules/mmap.c: treat read offset to prevent infinite loop on cat /proc/lkmc_mmap
|
2020-07-25 01:00:00 +00:00 |
|
|
|
28cd27f969
|
Move all non-README links to cirosantilli.com where the file is not cut off...
|
2019-07-07 00:00:01 +00:00 |
|
|
|
b5558eeebe
|
linux: updated to v5.1
Fix MS_RDONLY issue https://github.com/cirosantilli/linux-kernel-module-cheat/issues/56
mmap module had trivial update on return value incompatibility.
|
2019-05-21 00:00:00 +00:00 |
|
|
|
3b0a343647
|
kernel module: format, use tab to indent.
|
2018-12-12 08:07:34 +00:00 |
|
|
|
ca231b82f6
|
get rid of lkmc package, move userland and kernel-modules to top
Rationale: we already had a non buildroot build system,
maintaining both will be hard, and having short paths is more awesome.
|
2018-10-25 00:00:02 +00:00 |
|