linux_kernel_hacking icon indicating copy to clipboard operation
linux_kernel_hacking copied to clipboard

Module 3.7_char_interfering updates

Open prockallsyms opened this issue 10 months ago • 0 comments

Since

https://github.com/torvalds/linux/commit/22b0a222af4df8ee9bb8e07013ab44da9511b047

and

https://github.com/torvalds/linux/commit/1b388e7765f2eaa137cf5d92b47ef5925ad83ced

the file_operations structs have changed read and writing functions to prefer read_iter and write_iter. These functions now take kiocb and iov_iter structs, which mucks a bit of the coding methodology in the current representation.

I have implemented an alternative solution to the issue by hooking the single function get_random_bytes_user that I plan on submitting a PR for tonight.

prockallsyms avatar Apr 10 '24 17:04 prockallsyms