The linux user code was completely missing the ability to map errnos from the host to the target. This patch adds this ability, with the mapping needed for MIPS. With this patch, an appreciable number of the tests in LTP now PASS (remaining failures are due to other bugs not yet fixed). Stuart Stuart R. Anderson anderson@netsweng.com Network & Software Engineering http://www.netsweng.com/ 1024D/37A79149: 0791 D3B8 9A4C 2CDC A31F BD03 0A62 E534 37A7 9149