Use inferno read/write instead of pread/pwrite
authorBarret Rhoden <brho@cs.berkeley.edu>
Sat, 18 Jan 2014 19:55:36 +0000 (11:55 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Sat, 18 Jan 2014 19:55:36 +0000 (11:55 -0800)
commitfed43413d0f0ee81ff29ab543b3dd808cd8efb95
tree1b8b9b94e5b27e283d47c7b584d9795f53bdab92
parent4af10c792bfe53c0b79fe7be1a3a0c6d4f9e1301
Use inferno read/write instead of pread/pwrite

Passing in a -1 offset was just causing rread to abort.  For now, we'll
want the file offset tracked in the chan, like with normal FDs.
kern/src/syscall.c