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.
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
andwrite_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.