Following this message, are the 11 parts of the patch that implements EFAULT detection in the linux-user mode. Hopefully, this reflects what was discussed following the first RFC of this patch. Also, hopefully, it is easier to digest in smaller pieces like this.
In short, the (un)lock_user*() interfaces have been replaced by access_ok and copy_(to|from)_user() style interfaces. This code should now look more like some of the 32_on_64 code in the Linux kernel. As a side effect of these changes, and the more thorough testing that went along with them, several other bugs have been fixed in areas such as IPC and sockets. As before, the Linux Test Project test suite was used in an armel on x86_64 environment. Your comments would be appreciated as I'd like to finish beating these changes into shape so they can be accepted into the repository. Stuart Stuart R. Anderson [EMAIL PROTECTED] Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149