Kernel/User Memory Access and Original Sin
Quoted 4 lines
__access_okhas one purpose. To verify the address range given is entirely sensible to feed to __copy_*_user. If you have to do handling the complex way (eg if your cpu design requires it) then__access_okcan just return 1 and the __copy_*_user - inline or out of line - can do all the work.
Thanks. I think I have localized the hole in the signal handling that would have defeated these mechanisms, though another related failure that was also solved by the sledgehammer __access_ok remains mysterious. I'll apply the more localized fix and repeat the crashme experiments...
Kevin K.