Since
torvalds/linux@22b0a22
and
torvalds/linux@1b388e7
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
torvalds/linux@22b0a22
and
torvalds/linux@1b388e7
the file_operations structs have changed read and writing functions to prefer
read_iterandwrite_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_userthat I plan on submitting a PR for tonight.