lkmpg icon indicating copy to clipboard operation
lkmpg copied to clipboard

The Linux Kernel Module Programming Guide (updated for 5.0+ kernels)

Results 34 lkmpg issues
Sort by recently updated
recently updated
newest added

There are a bunch of [static site generator](https://jamstack.org/generators/) that creates HTML pages from templates or components and the given content source. Besides, we can also automate, customize, and execute workflows...

Since the operations are static storage duration, the pointer in operation structures will initialize with NULL. But, the kernel doesn't check whether the pointer is NULL or not when calling...

min()/max() splited from kernel.h to minmax.h since v5.10-rc1. Before v5.10, minmax.h doesn't exist [1]. [1] https://github.com/torvalds/linux/commit/b296a6d53339a79082c1d2c1761e948e8b3def69

En..., I have to reopen #160 for the fact as follows: The field `f_op` used by `vfs_xx` is a set of wrapper, e.g. [proc_reg_file_ops](https://elixir.bootlin.com/linux/v5.15/C/ident/proc_reg_file_ops), it wrapps the function ptr in...

Because of `sys_open` was replaced by `sys_openat`in use, there is no way to test it. When switching to other syscall, print such as `pr_info` causing fatal page fault which crash...

What would be nice as a follow-up to the button press example would be talking to other subsystems to let them perform operations for you, like doing a DMA transfer...

## Summary Fix "dynamicly" to "dynamically".

Closes #175 - [x] Write the syscall stealing example using Ftrace - [x] Add contents into the book

When I set `#if 1` in function test_skcipher_callback, the decrypt can't be printed in dmesg. I wanna to know why. But when I add code `pr_info("Decrypted: %s\n", sk->scratchpad);` after line-168...