386 system call fixes:
  * use 64-bit file system calls (Linux, Darwin)
  * use 32-bit [sic] uid/gid calls (Linux)
  * fix sockets on Linux

Darwin/386 works again.

Linux/386 is better but must never have worked;
there are still bugs surrounding the creation of new
threads in the runtime package.

R=austin
DELTA=1332  (673 added, 614 deleted, 45 changed)
OCL=30327
CL=30380
16 files changed
tree: e6f2ed8488a281a586664e0a0085aa6fe227365e
  1. doc/
  2. include/
  3. lib/
  4. misc/
  5. pkg/
  6. src/
  7. test/
  8. usr/