Kernel 4.11.0 osscore.c compile fix
Posted: Fri May 05, 2017 2:00 am
So with Linux Kernel 4.11.0, osscore.c no longer compiles with error as follows:So I "fiddled around" and came up with following fix:Dirty fix but "works-for-me"! 
PS: This article on StackOverflow helped me understand what the problem and what needs to be done.
Code: Select all
osscore.c:477:23: error: dereferencing pointer to incomplete type 'const struct cred' return current->cred->uid.val;PS: This article on StackOverflow helped me understand what the problem and what needs to be done.