[vbox-dev] [PATCH] Fix compilation of host modules on Linux kernel 5.0

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Wed Jan 16 22:22:28 GMT 2019


On Wed, 16 Jan 2019 17:11:25 -0500, Kyle Laker said:
> The API for the access_ok() macro has changed in 5.0 to remove the first 
> argument. Which means the host modules do not compile on the 5.0 kernel. 
> I was able to resolve it with the following patch. I did not find any 
> other instances where access_ok() is used.

I cooked up the same fix, but you beat me to posting it. So here's
a confirmation that it's correct....



More information about the vbox-dev mailing list