linux-user: implement pipe2 [v2]
authorRiku Voipio <riku.voipio@iki.fi>
Tue, 5 May 2009 09:10:04 +0000 (12:10 +0300)
committerRiku Voipio <riku.voipio@nokia.com>
Thu, 7 May 2009 13:32:39 +0000 (16:32 +0300)
commitde0184a2aac92b526743e6d8595b9df866f5ba78
tree5fb724f74ab9b32914d024341912cdc424ea0283
parentf02820a53b28f5887fe442bb781c4663a15fd181
linux-user: implement pipe2 [v2]

implement pipe2 syscall. instead of calling pipe2 directly
(which was introduced in 2.6.27), emulate the flag functionality
with fcntl.

[v2] fix do_pipe on mips and sh4
linux-user/syscall.c